############################################################################################################
# Russia Focus Tree																				   		   #
############################################################################################################
# First attempted rework by Rylock and Alpinia															   #
############################################################################################################
# Second rework by Matoro, Katie, Frill Shark, Kano, Daru, Deliberus, marimari, Gideones, Targai and DDago #
############################################################################################################

focus_tree = {
	id = Russia_Focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = RUS
		}
	}

	inlay_window = {
		id = RUS_savinkov_inner_circle_inlay_window
		position = { x = 1500 y = 900 }
	}

	default = no
	continuous_focus_position = { x = 0 y = 2300 }

	### Savinkov Tree ###
	focus = {
		id = RUS_control_supreme_court
		icon = GFX_goal_RUS_supreme_court
		cost = 5

		x = 5
		y = 0

		allow_branch = { has_government = national_populist }
		available = {
			has_government = national_populist
			NOT = { has_idea = RUS_entrenched_opposition }
		}
		ai_will_do = {
			factor = 500
			modifier = {
				add = 500
				has_country_flag = RUS_socialist_ai
			}
			modifier = {
				add = 500
				has_country_flag = RUS_savinkov_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_control_supreme_court"
			retire_character = RUS_vladimir_nabokov
			country_event = russia_events.120
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_savinkov_constitution
		icon = GFX_goal_RUS_savinkov
		cost = 5

		relative_position_id = RUS_control_supreme_court
		x = 0
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_control_supreme_court
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 1000
				has_country_flag = RUS_savinkov_ai
				has_completed_focus = RUS_end_vilnius_agreement
			}
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_republic_ai
					has_country_flag = RUS_empire_ai
				}
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_savinkov_constitution"
			country_event = russia_events.122 #The Basic Law of the RDFR of 1922
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_savinkov_constitution"
			add_political_power = 100
			add_country_leader_trait = RUS_supreme_commander
			country_event = russia_events.126
			hidden_effect = {
				country_event = { id = russia_flavour_events.18 days = 30 } #The Old Svobodniks
				country_event = { id = russia_events.231 days = 60 } #The National Union of Solidarists
				country_event = { id = russia_flavour_events.21 days = 90 } #The Fellow-Travellers
				country_event = { id = russia_flavour_events.19 days = 120 } #Eurasianist-Ideocrats
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_undercut_monarchists
		icon = GFX_goal_crush_monarchy
		cost = 4

		relative_position_id = RUS_savinkov_constitution
		x = 1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_savinkov_constitution
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				NOT = { has_completed_focus = RUS_artelizatsiya }
			}
			modifier = {
				add = 1000
				AND = {
					has_country_flag = RUS_savinkov_ai
					has_completed_focus = RUS_end_vilnius_agreement
				}
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_savinkov_ai
				NOT = { has_completed_focus = RUS_sponsor_belgrade }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_undercut_monarchists"
			set_temp_variable = { coalition_partner_var = token:authoritarian_democrat }
			remove_from_coalition = yes
			add_popularity = { ideology = authoritarian_democrat popularity = -0.1 }
			custom_effect_tooltip = RUS_remove_SOR_tt
			character_list_tooltip = {
				limit = {
					OR = {
						RUS = { RUS_vasily_shulgin = { is_character = PREV.PREV } }
						RUS = { RUS_ivan_ilyin = { is_character = PREV.PREV } }
					}
				}
			}
			hidden_effect = { country_event = russia_events.129 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_necessary_revenge
		icon = GFX_goal_RUS_oppression #GFX_focus_generic_conspiracy
		cost = 4

		relative_position_id = RUS_control_supreme_court
		x = -1
		y = 2

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_savinkov_constitution
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 5
				date > 1936.10.1
			}
			modifier = {
				factor = 0
				NOT = {
					AND = {
						has_completed_focus = RUS_voskhod
						has_completed_focus = RUS_undercut_monarchists
					}
				}
			}
			modifier = {
				add = 1000
				AND = {
					has_country_flag = RUS_savinkov_ai
					has_completed_focus = RUS_end_vilnius_agreement
				}
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_necessary_revenge"
			hidden_effect = {
				country_event = { id = russia_events.130 days = 7 } #Mass Trials
				country_event = { id = russia_events.127 days = 14 } #Labour Union Operation
				country_event = { id = russia_events.128 days = 21 } #Extermination of the Radical-Democratic Party
				country_event = { id = russia_flavour_events.176 days = 34 }
				country_event = { id = russia_events.249 days = 50 random_days = 50 } #All-Russian Combat Organisation
				country_event = { id = russia_events.295 days = 120 } #Flying Squads of the Security Department
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_necessary_revenge"
			add_popularity = { ideology = social_liberal popularity = -0.08 }
			add_popularity = { ideology = market_liberal popularity = -0.06 }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_necessary_revenge_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_svobodniks
		icon = GFX_focus_BRA_anaue #GFX_goal_RUS_natpops
		cost = 6

		relative_position_id = RUS_necessary_revenge
		x = -3
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_necessary_revenge
		}
		ai_will_do = {
			base = 15
			modifier = {
				factor = 50
				has_country_flag = RUS_old_svobodnik_ai
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_svobodniks"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			enable_tech_assault_battalion = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_anastasy_vonsyatsky_advisor
			hidden_effect = {
				country_event = { id = russia_events.238 days = 10 } #Rise of the Svobodniks
				country_event = { id = russia_flavour_events.32 days = 100 random_days = 100 } #Attack on the Synagogue of Vladivostok
				country_event = { id = russia_events.261 days = 200 random_days = 200 } #The Svobodnik Scandal
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_army_commissars
		icon = GFX_FER_kolchak_cap
		cost = 6

		relative_position_id = RUS_necessary_revenge
		x = -1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_necessary_revenge
		}
		ai_will_do = {
			factor = 5
			modifier = {
				add = 10
				date > 1939.1.1
			}
			modifier = {
				factor = 0
				NOT = { has_completed_focus = RUS_declare_russian_state }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_army_commissars"
			custom_effect_tooltip = RUS_evalute_VVFR_tt
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_army_commissars_idea
			hidden_effect = { country_event = russia_events.233 }
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_establish_the_VES
		icon = GFX_goal_agency
		cost = 5

		relative_position_id = RUS_control_supreme_court
		x = 3
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_control_supreme_court
		}
		ai_will_do = {
			factor = 25
			modifier = {
				add = 1000
				has_country_flag = RUS_socialist_ai
			}
			modifier = {
				add = 1000
				has_country_flag = RUS_savinkov_ai
			}
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_republic_ai
					has_country_flag = RUS_empire_ai
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_establish_the_VES"
			add_ideas = RUS_supreme_economic_council
			custom_effect_tooltip = RUS_establish_industrial_regions_tt
			unlock_decision_tooltip = {
				decision = RUS_Industrial_Regions
				show_effect_tooltip = yes
				show_modifiers = no
			}
			set_variable = { RUS_Industrial_Regions_Available = 5 }
			hidden_effect = {
				country_event = russia_events.250
				activate_targeted_decision = { target = 195 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 217 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 249 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 251 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 653 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 572 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 242 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 408 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 398 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 263 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 260 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 220 decision = RUS_Industrial_Regions }
				activate_targeted_decision = { target = 224 decision = RUS_Industrial_Regions }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_PRODUCTION FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_voskhod
		icon = GFX_goal_social_reforms
		cost = 6

		relative_position_id = RUS_establish_the_VES
		x = 1
		y = 1

		available = {
			has_government = national_populist
			has_manpower > 100000
		}
		prerequisite = {
			focus = RUS_establish_the_VES
		}
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 50
				has_country_flag = RUS_socialist_ai
			}
			modifier = {
				add = 1000
				has_country_flag = RUS_savinkov_ai
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_voskhod"
			country_event = russia_events.270 #A Question of Funding
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_voskhod"
			custom_effect_tooltip = RUS_voskhod_anger
			custom_effect_tooltip = tooltip_white_line
			set_country_flag = RUS_voskhod_active
			set_variable = { RUS_voskhod_cap = 80000 }
			set_variable = { RUS_voskhod_current_mp = 0 }
			set_variable = { RUS_voskhod_remaining_mp = 80000 }
			set_variable = { RUS_completed_voskhod_projects = 0 }
			if = {
				limit = { NOT = { has_country_flag = RUS_BM_solved } }
				custom_effect_tooltip = RUS_BM_recovery_tt
				custom_effect_tooltip = tooltip_white_line
			}
			activate_targeted_decision = { target = ROOT decision = RUS_increase_funding }
			activate_targeted_decision = { target = ROOT decision = RUS_utilise_army }
			activate_targeted_decision = { target = ROOT decision = RUS_RASOLKO }
			activate_targeted_decision = { target = 516 decision = RUS_norilsk_mining_and_metallurgy }
			activate_targeted_decision = { target = 574 decision = RUS_far_north_construction_trust }
			activate_targeted_decision = { target = 653 decision = RUS_ural_wagon_factory }
			activate_targeted_decision = { target = 562 decision = RUS_magadan_gold_mining }
			activate_targeted_decision = { target = 560 decision = RUS_permsk_shipbuilding_plant }
			activate_targeted_decision = { target = 215 decision = RUS_belomorkanal }
			activate_targeted_decision = { target = 247 decision = RUS_moscow_volga_canal }
			activate_targeted_decision = { target = 722 decision = RUS_pechenganikel_mining_works }
			activate_targeted_decision = { target = 397 decision = RUS_vorkuta_mining_centre }
			activate_targeted_decision = { target = 404 decision = RUS_artel_gigant }
			activate_targeted_decision = { target = 570 decision = RUS_siberian_township_programme }
			activate_targeted_decision = { target = 233 decision = RUS_vladikavkaz_steel }
			activate_targeted_decision = { target = ROOT decision = RUS_end_the_programme }
			hidden_effect = {
				country_event = russia_events.280 #The Voskhod Programme
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_artelizatsiya
		icon = GFX_goal_UK_ban_unions
		cost = 6

		relative_position_id = RUS_establish_the_VES
		x = 0
		y = 2

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_voskhod
		}
		ai_will_do = {
			factor = 1000
			modifier = {
				factor = 0
				NOT = { has_country_flag = RUS_savinkov_ai }
			}
			modifier = {
				factor = 0
				NOT = { has_completed_focus = RUS_savinkov_constitution }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_artelizatsiya"
			add_ideas = RUS_artels
			if = {
				limit = { has_country_flag = RUS_voskhod_active }
				add_to_variable = { RUS_voskhod_cap = 50000 }
				add_to_variable = { RUS_voskhod_remaining_mp = 50000 }
				custom_effect_tooltip = RUS_increase_voskhod_50000_tt
				RUS_check_voskhod_recruit = yes
			}
			custom_effect_tooltip = tooltip_white_line
			country_event = russia_events.265
			effect_tooltip = { add_political_power = 50 }
			hidden_effect = {
				country_event = { id = russia_events.232 days = 90 } #The Solidarist Labour Movement
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_declare_russian_state
		icon = GFX_goal_RUS_natpops #GFX_goal_RUS_flag_2
		cost = 6

		relative_position_id = RUS_control_supreme_court
		x = 0
		y = 3

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_undercut_monarchists
		}
		prerequisite = {
			focus = RUS_voskhod
		}
		prerequisite = {
			focus = RUS_necessary_revenge
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 5000
				has_country_flag = RUS_savinkov_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_declare_russian_state"
			remove_ideas = RUS_death_throes_of_the_republic
			set_cosmetic_tag = RUS_state
			add_popularity = { ideology = national_populist popularity = 0.1 }
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				country_event = russia_events.236
			}
			hidden_effect = {
				set_politics = {
					ruling_party = national_populist
					elections_allowed = no
				}
				set_portraits = {
					character = RUS_boris_savinkov
					civilian = { large = GFX_portrait_RUS_boris_savinkov_large_suit }
				}
				RUS_boris_savinkov = { unit_leader_event = russia_events.236 }
				activate_targeted_decision = { decision = RUS_destroy_VRBO target = ROOT }
				country_event = { id = russia_events.294 days = 25 } #The Loyalty Clause
				country_event = { id = russia_events.298 days = 150 } #Decree on Internal and External Border Controls
				country_event = { id = russia_events.260 days = 365 } #The Vozhd is Unavailable
				country_event = { id = russia_events.229 days = 500 random_days = 100 } #The Ustryalovite Faction
				country_event = { id = russia_flavour_events.5 days = 700 } #Church of the Third Testament
				news_event = russia_news_events.2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_fate_of_federalism
		icon = GFX_goal_NFA_end_parliamentarism
		cost = 6

		relative_position_id = RUS_declare_russian_state
		x = 2
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_declare_russian_state
		}
		ai_will_do = { factor = 25 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_fate_of_federalism"
			add_political_power = 50
			country_event = russia_events.266
			custom_effect_tooltip = tooltip_white_line
			RUS_unlock_federal_decisions = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_cult_of_vozhd
		icon = GFX_goal_RUS_cult_of_vozhd
		cost = 5

		relative_position_id = RUS_declare_russian_state
		x = -4
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_declare_russian_state
		}
		prerequisite = {
			focus = RUS_svobodniks
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 100
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_cult_of_vozhd"
			add_popularity = { ideology = national_populist popularity = 0.05 }
			country_event = russia_events.234 #Portrait of the Vozhd
			custom_effect_tooltip = RUS_cult_of_vozhd_tt
			hidden_effect = {
				country_event = { id = russia_events.240 days = 30 } #The Young Pathfinders
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_new_russian_culture
		icon = GFX_focus_SWI_establish_pro_helvetia
		cost = 5

		relative_position_id = RUS_cult_of_vozhd
		x = 2
		y = 0

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_declare_russian_state
		}
		ai_will_do = { factor = 15 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_new_russian_culture"
			country_event = { id = russia_events.241 days = 8 } #The Svobodnik Curriculum
			country_event = { id = russia_events.296 days = 16 } #Decree on Universities
			country_event = { id = russia_events.242 days = 24 } #Nature of National Populist Art
			country_event = { id = russia_events.264 days = 32 } #Ministry of National Culture
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_russian_culture"
			custom_effect_tooltip = RUS_new_russian_culture_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_revolution_in_spirit
		icon = GFX_goal_RUS_revolution_in_spirit
		cost = 5

		relative_position_id = RUS_cult_of_vozhd
		x = -1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_cult_of_vozhd
		}
		prerequisite = {
			focus = RUS_new_russian_culture
		}
		mutually_exclusive = {
			focus = RUS_dealing_with_faith
		}
		ai_will_do = {
			factor = 12
			modifier = {
				factor = 0
				has_country_flag = RUS_solidarist_ai
			}
			modifier = {
				factor = 100
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_revolution_in_spirit"
			add_political_power = 80
			if = {
				limit = { has_idea = RUS_new_russian_culture_1 }
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_1
					add_idea = RUS_new_russian_culture_3
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_2
					add_idea = RUS_new_russian_culture_5
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_dmitry_merezhovsky_advisor
			hidden_effect = {
				country_event = { id = russia_events.297 days = 30 } #The Institute for Hypnotic and Mystical Studies
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_dealing_with_faith
		icon = GFX_goal_RUS_russian_faith
		cost = 5

		relative_position_id = RUS_cult_of_vozhd
		x = 1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_cult_of_vozhd
		}
		prerequisite = {
			focus = RUS_new_russian_culture
		}
		mutually_exclusive = {
			focus = RUS_revolution_in_spirit
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				has_country_flag = RUS_ideocrat_ai
			}
			modifier = {
				factor = 100
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_dealing_with_faith"
			add_stability = 0.1
			if = {
				limit = { has_idea = RUS_new_russian_culture_1 }
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_1
					add_idea = RUS_new_russian_culture_4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_2
					add_idea = RUS_new_russian_culture_6
				}
			}
			add_power_balance_value = {
				id = RUS_power_balance
				value = -0.05
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_patriarch_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_centralise_party
		icon = GFX_goal_RUS_centralise_party
		cost = 7

		relative_position_id = RUS_revolution_in_spirit
		x = 1
		y = 1
		available = {
			OR = {
				is_power_balance_in_range = {
					id = RUS_power_balance
					range = RUS_bop_balanced
				}
				has_completed_focus = RUS_savior_of_world
			}
		}
		prerequisite = {
			focus = RUS_revolution_in_spirit
			focus = RUS_dealing_with_faith
		}
		mutually_exclusive = {
			focus = RUS_yevraziystvo
			focus = RUS_national_solidarism
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				NOT = { has_country_flag = RUS_old_svobodnik_ai }
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_centralise_party"
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_centralise_party"
			country_event = russia_events.246 #The Sheep and the Fools
			add_popularity = { ideology = national_populist popularity = 0.15 }
			if = {
				limit = { power_balance_value = { id = RUS_power_balance value > 0.05 } }
				add_power_balance_value = {
					id = RUS_power_balance
					value = -0.1
				}
			}
			else_if = {
				limit = { power_balance_value = { id = RUS_power_balance value < -0.05 } }
				add_power_balance_value = {
					id = RUS_power_balance
					value = 0.1
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER }
	}

	focus = {
		id = RUS_yevraziystvo
		icon = GFX_goal_RUS_yevraziystvo
		cost = 7

		relative_position_id = RUS_cult_of_vozhd
		x = -2
		y = 2

		available = {
			RUS_pyotr_savitsky = { is_second_in_command = yes }
			is_power_balance_in_range = {
				id = RUS_power_balance
				range > RUS_bop_id_50
			}
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_revolution_in_spirit
		}
		mutually_exclusive = {
			focus = RUS_centralise_party
			focus = RUS_national_solidarism
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				NOT = { has_country_flag = RUS_ideocrat_ai }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_yevraziystvo"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			add_ideas = RUS_eurasian_autarky
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_idea = closed_economy
							has_idea = limited_exports
						}
					}
					add_ideas = limited_exports
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_national_solidarism
		icon = GFX_goal_RUS_authdem
		cost = 7

		relative_position_id = RUS_cult_of_vozhd
		x = 2
		y = 2

		available = {
			RUS_maksimilian_filonenko = { is_second_in_command = yes }
			is_power_balance_in_range = {
				id = RUS_power_balance
				range < RUS_bop_sol_50
			}
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_dealing_with_faith
		}
		mutually_exclusive = {
			focus = RUS_yevraziystvo
			focus = RUS_centralise_party
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				NOT = { has_country_flag = RUS_solidarist_ai }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_solidarism"
			add_political_power = 50
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_popular_anger = yes
			add_ideas = RUS_national_solidarism_idea
			add_popularity = { ideology = authoritarian_democrat popularity = 0.05 }
			set_temp_variable = { coalition_partner_var = token:authoritarian_democrat }
			add_to_coalition = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_mikhail_georgiyevsky_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_catechism
		icon = GFX_goal_RUS_catechism
		cost = 5

		relative_position_id = RUS_cult_of_vozhd
		x = -1
		y = 3

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_yevraziystvo
			focus = RUS_centralise_party
			focus = RUS_national_solidarism
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_catechism"
			add_stability = 0.1
			custom_effect_tooltip = RUS_catechism_tt
			if = {
				limit = { has_idea = RUS_new_russian_culture_3 }
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_3
					add_idea = RUS_new_russian_culture_7
				}
			}
			else_if = {
				limit = { has_idea = RUS_new_russian_culture_4 }
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_4
					add_idea = RUS_new_russian_culture_8
				}
			}
			else_if = {
				limit = { has_idea = RUS_new_russian_culture_5 }
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_5
					add_idea = RUS_new_russian_culture_9
				}
			}
			else_if = {
				limit = { has_idea = RUS_new_russian_culture_6 }
				swap_ideas = {
					remove_idea = RUS_new_russian_culture_6
					add_idea = RUS_new_russian_culture_10
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_vanguard_of_knights_of_terror
		icon = GFX_goal_RUS_knights_of_terror
		cost = 6

		relative_position_id = RUS_declare_russian_state
		x = 0
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_declare_russian_state
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = 5000
				has_country_flag = RUS_savinkov_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_vanguard_of_knights_of_terror"
			add_stability = 0.07
			add_war_support = 0.05
			add_country_leader_trait = RUS_knight_of_terror
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_russian_cause
		icon = GFX_goal_RUS_russian_cause
		cost = 7

		relative_position_id = RUS_vanguard_of_knights_of_terror
		x = -1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_vanguard_of_knights_of_terror
		}
		ai_will_do = {
			base = 10
			modifier = {
				add = 100
				has_country_flag = RUS_savinkov_ai
				has_manpower < 400000
			}
			modifier = {
				add = 1000
				has_country_flag = RUS_savinkov_ai
				has_manpower < 200000
			}
			modifier = {
				add = 1000
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_russian_cause"
			add_ideas = RUS_russian_cause_idea
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = ROOT decision = RUS_appoint_loyalist_commander }
			hidden_effect = {
				country_event = { id = russia_events.235 days = 30 } #The White Youth
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_MILITARY_CHARACTER }
	}

	focus = {
		id = RUS_gosstrazha
		icon = GFX_goal_secret_agents
		#GFX_ITA_green_shirts
		#focus_generic_limited_social_mobilization
		cost = 7

		relative_position_id = RUS_vanguard_of_knights_of_terror
		x = 1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_vanguard_of_knights_of_terror
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = 5000
				has_country_flag = RUS_savinkov_ai
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_gosstrazha"
			country_event = { id = russia_events.263 days = 35 }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_gosstrazha"
			unlock_decision_tooltip = RUS_destroy_VRBO
			if = {
				limit = { NOT = { has_tech = tech_anti_partisan } }
				enable_tech_anti_partisan = yes
			}
			else = {
				add_stability = 0.05
			}
			if = {
				limit = {
					has_dlc_lar = yes
					NOT = { has_done_agency_upgrade = upgrade_anti_partisan }
				}
				upgrade_intelligence_agency = upgrade_anti_partisan
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_labour_conscription
		icon = GFX_focus_DEN_heavy_regulations
		cost = 6

		relative_position_id = RUS_voskhod
		x = 0
		y = 2

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_declare_russian_state
		}
		prerequisite = {
			focus = RUS_voskhod
		}
		prerequisite = {
			focus = RUS_artelizatsiya
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_labour_conscription"
			swap_ideas = {
				remove_idea = RUS_supreme_economic_council
				add_idea = RUS_supreme_economic_council_2
			}
			add_power_balance_value = {
				id = RUS_power_balance
				value = 0.1
			}
			hidden_effect = {
				country_event = { id = russia_events.262 days = 25 } #Our Own Capitalists
				country_event = { id = russia_events.230 days = 365 random_days = 50 } #The Quantification Problem of the VES
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER }
	}

	focus = {
		id = RUS_teleological_planning
		icon = GFX_focus_GER_prioritize_the_four_year_plan
		cost = 7

		relative_position_id = RUS_labour_conscription
		x = -1
		y = 1

		available = {
			has_government = national_populist
			NOT = {
				has_idea = RUS_expansion_of_VES_bureaucracy
				has_country_flag = RUS_defunded_VES
			}
		}
		prerequisite = {
			focus = RUS_labour_conscription
		}
		mutually_exclusive = {
			focus = RUS_solidarist_representation
		}
		ai_will_do = {
			base = 35
			modifier = {
				factor = 0
				has_country_flag = RUS_solidarist_ai
				power_balance_value = { id = RUS_power_balance value > -0.40 }
			}
			modifier = {
				factor = 40
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_teleological_planning"
			if = {
				limit = { has_idea = RUS_supreme_economic_council_2 }
				swap_ideas = {
					remove_idea = RUS_supreme_economic_council_2
					add_idea = RUS_supreme_economic_council_3
				}
			}
			else_if = { limit = { has_idea = RUS_supreme_economic_council_4 }
				swap_ideas = {
					remove_idea = RUS_supreme_economic_council_4
					add_idea = RUS_supreme_economic_council_2
				}
			}
			subtract_from_variable = { RUS_ic_cost_low = 15 }
			subtract_from_variable = { RUS_ic_cost_med = 15 }
			add_to_variable = { RUS_Industrial_Regions_Available = 5 }
			custom_effect_tooltip = RUS_central_planning_tt
			custom_effect_tooltip = RUS_additional_industrial_regions_tt
			add_power_balance_value = {
				id = RUS_power_balance
				value = 0.2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER }
	}

	focus = {
		id = RUS_solidarist_representation
		icon = GFX_focus_ICE_state_corporatism
		cost = 7

		relative_position_id = RUS_labour_conscription
		x = 1
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_labour_conscription
		}
		mutually_exclusive = {
			focus = RUS_teleological_planning
		}
		ai_will_do = {
			factor = 35
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_old_svobodnik_ai
					has_country_flag = RUS_ideocrat_ai
				}
			}
			modifier = {
				factor = 40
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_solidarist_representation"
			add_stability = 0.15
			swap_ideas = {
				remove_idea = RUS_artels
				add_idea = RUS_artels_chamber
			}
			add_to_variable = { RUS_ic_time_60 = 20 }
			add_to_variable = { RUS_ic_time_120 = 20 }
			add_power_balance_value = {
				id = RUS_power_balance
				value = -0.1
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_economic_organisation_of_eurasia
		icon = GFX_focus_generic_national_security
		cost = 6

		relative_position_id = RUS_labour_conscription
		x = 0
		y = 2

		available = {
			if = {
				limit = { is_ai = no }
				custom_override_tooltip = {
					tooltip = RUS_power_projection_20_cost
					check_variable = { RUS_power_projection > 19 }
				}
			}
			has_government = national_populist
			NOT = { country_exists = GER }
			has_completed_focus = RUS_moscow_economic_council
			is_faction_leader = yes
		}
		prerequisite = {
			focus = RUS_teleological_planning
			focus = RUS_solidarist_representation
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 100
				NOT = { country_exists = GER }
				has_country_flag = RUS_ideocrat_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_economic_organisation_of_eurasia"
			custom_effect_tooltip = RUS_savinkov_moscow_treaty_tt
			var:economic_sphere = {
				set_character_name = RUS_savinkov_moscow_treaty
				var:desc = { set_character_name = RUS_savinkov_moscow_treaty_desc }
			}
			set_temp_variable = { RUS_power_change = -20 }
			RUS_change_projection = yes
			country_event = russia_events.292
			every_country = {
				limit = {
					is_subject_of = ROOT
					num_of_owned_factories > 40
				}
				ROOT = {
					activate_targeted_decision = { target = PREV decision = RUS_industrial_reparations }
				}
			}
			if = {
				limit = { AZR = { is_subject_of = RUS } }
				AZR = {
					give_resource_rights = {
						receiver = ROOT
						state = 229
						resources = { oil }
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_third_russia
		icon = GFX_goal_RUS_third_russia
		cost = 7

		relative_position_id = RUS_vanguard_of_knights_of_terror
		x = 0
		y = 2

		available = {
			owns_state = 202
			owns_state = 206
			set_temp_variable = { RUS_anger_check < 4 }
			custom_override_tooltip = {
				tooltip = RUS_check_popular_anger_NOT
				check_variable = { RUS_popular_anger < RUS_anger_check }
			}
			custom_override_tooltip = {
				tooltip = RUS_check_military_anger_NOT
				check_variable = { RUS_military_anger < RUS_anger_check }
			}
			NOT = { country_exists = GER }
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_russian_cause
		}
		prerequisite = {
			focus = RUS_gosstrazha
		}
		prerequisite = {
			focus = RUS_solidarist_representation
			focus = RUS_teleological_planning
		}
		prerequisite = {
			focus = RUS_revolution_in_spirit
			focus = RUS_dealing_with_faith
		}
		ai_will_do = {
			factor = 1000
			modifier = {
				factor = 5
				has_country_flag = RUS_old_svobodnik_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_third_russia"
			add_country_leader_trait = RUS_herald_of_third_russia
			remove_ideas = RUS_popular_anger
			hidden_effect = {
				if = {
					limit = {
						POL = {
							NOT = { is_subject_of = RUS }
							has_government = national_populist
						}
					}
					country_event = { id = russia_flavour_events.121 days = 50 random_days = 30 }
				}
				if = {
					limit = { has_idea = RUS_cossack_resistance }
					remove_ideas = RUS_cossack_resistance
				}
				country_event = { id = russia_events.313 days = 5 } #Call for the Last War
				country_event = { id = russia_events.312 days = 50 random_days = 50 } #Robbing of Europe
				country_event = { id = russia_events.311 days = 120 random_days = 50 } #New, Old Enemy
				country_event = { id = russia_flavour_events.14 days = 300 } #Memoirs of a Terrorist, final part
				country_event = { id = russia_democratic_events.32 days = 65 random_days = 200 } #Denikin retires
				country_event = { id = russia_flavour_events.109 days = 50 random_days = 100 } #The First Family of Russia
				country_event = { id = russia_events.964 days = 90 random_days = 100 } #A Renaming Campaign
				country_event = { id = russia_flavour_events.124 days = 60 random_days = 200 } #Treaty of Dresden
				country_event = { id = russia_flavour_events.175 days = 500 random_days = 50 } #Nebuchadnezzar, Hadrian, Savinkov
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_codification_of_regime
		icon = GFX_goal_generic_council
		cost = 10

		relative_position_id = RUS_third_russia
		x = -2
		y = 1

		available = {
			NOT = { has_war_with = INT }
			RUS_maksimilian_filonenko = { is_second_in_command = yes }
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_third_russia
		}
		mutually_exclusive = {
			focus = RUS_savior_of_world
			focus = RUS_ideocratic_principle
		}
		ai_will_do = {
			factor = 1000
			modifier = {
				factor = 5
				has_country_flag = RUS_old_svobodnik_ai
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_codification_of_regime"
			country_event = { id = russia_events.300 days = 1 } #Veering Towards New War
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_codification_of_regime"
			custom_effect_tooltip = RUS_solidarist_minigame_warning_tt
			set_temp_variable = { coalition_partner_var = token:authoritarian_democrat }
			add_to_coalition = yes
			add_popularity = { ideology = authoritarian_democrat popularity = 0.1 }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_ivan_ilyin_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_savior_of_world
		icon = GFX_goal_RUS_savior_of_world
		cost = 10

		relative_position_id = RUS_third_russia
		x = 0
		y = 1

		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_third_russia
		}
		mutually_exclusive = {
			focus = RUS_codification_of_regime
			focus = RUS_ideocratic_principle
		}
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_solidarist_ai
					has_country_flag = RUS_ideocrat_ai
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_savior_of_world"
			add_war_support = 0.1
			country_event = russia_events.314 #Liberation of the West
			hidden_effect = {
				every_other_country = {
					limit = { has_socialist_government = yes }
					country_event = russia_events.314 #Liberation of the West
				}
				RUS_karl_gopper = { unit_leader_event = { id = russia_events.136 days = 60 } }
				country_event = { id = russia_flavour_events.140 days = 80 }
				country_event = { id = russia_events.320 days = 100 random_days = 100 } #Militarisation of the Party
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_ideocratic_principle
		icon = GFX_focus_generic_limited_social_mobilization
		cost = 10

		relative_position_id = RUS_third_russia
		x = 2
		y = 1

		available = {
			has_government = national_populist
			RUS_pyotr_savitsky = { is_second_in_command = yes }
		}
		prerequisite = {
			focus = RUS_third_russia
		}
		prerequisite = {
			focus = RUS_economic_organisation_of_eurasia
		}
		mutually_exclusive = {
			focus = RUS_savior_of_world
			focus = RUS_codification_of_regime
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ideocratic_principle"
			add_country_leader_trait = RUS_boris_the_terrible
			country_event = russia_events.315 #Heiress of the Great Khans
			hidden_effect = {
				country_event = { id = russia_events.317 days = 100 random_days = 100 } #Right Hand of the State
				country_event = { id = russia_events.318 days = 200 random_days = 100 } #Expansion of the Camp System
				RUS_karl_gopper = { unit_leader_event = { id = russia_events.136 days = 60 } }
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESISTANCE FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_project_sumerki
		icon = GFX_focus_wonderweapons
		cost = 7
		relative_position_id = RUS_savior_of_world
		x = -1
		y = 1
		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_ideocratic_principle
			focus = RUS_savior_of_world
			focus = RUS_codification_of_regime
		}
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 10
				has_country_flag = RUS_old_svobodnik_ai
			}
			modifier = {
				factor = 10
				INT = { has_completed_focus = FRA_damocles }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_project_sumerki"
			add_ideas = RUS_sumerki_program
			if = {
				limit = {
					NOT = {
						is_researching_technology = atomic_research
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = RUS_project_sumerki
					bonus = 0.5
					uses = 1
					ahead_reduction = 1
					category = nuclear
				}
			}
			else = {
				if = {
					limit = { NOT = { is_special_project_completed = sp:sp_nuclear_reactor } }
					sp:sp_nuclear_reactor = { add_project_progress_ratio = 0.1 }
				}
				if = { #second nuclear facility after russia_flavour_events.23
					limit = {
						controls_province = 4261 #Ozyorsk
						582 = { #Orsk
							is_owned_and_controlled_by = ROOT
							can_construct_building = nuclear_facility
						}
					}
					582 = { #Orsk
						custom_override_tooltip = {
							add_building_construction = {
								type = nuclear_facility
								level = 1
								province = 4261 #Ozyorsk
								instant_build = yes
							}
							tooltip = {
								localization_key = tooltip_add_building_on_victory_point
								BUILDING = nuclear_facility
								NUMBER = 1
								VP = 4261
							}
						}
					}
				}
				else = {
					random_owned_controlled_state = {
						prioritize = { 573 582 651 652 }
						limit = {
							is_core_of = ROOT
							can_construct_building = nuclear_facility
						}
						construct_building_in_random_province = { nuclear_facility = 1 }
					}
				}
			}
			activate_targeted_decision = { target = 64.owner decision = RUS_operation_masuria }
			activate_targeted_decision = { target = INT decision = RUS_damocles_spy_ring }
			activate_targeted_decision = { target = 562 decision = RUS_death_valley }
			activate_targeted_decision = { target = 407 decision = RUS_taboshar_uranium }
			activate_targeted_decision = { target = 582 decision = RUS_nechayevsk }
			activate_targeted_decision = { target = 810 decision = RUS_nuclear_test }
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_cleanse_the_party
		icon = GFX_goal_backstab #GFX_focus_SWE_neither_death_nor_dishonor
		cost = 6
		relative_position_id = RUS_savior_of_world
		x = 1
		y = 1
		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_savior_of_world
			focus = RUS_ideocratic_principle
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_cleanse_the_party"
			add_stability = 0.15
			if = {
				limit = {
					NOT = { has_completed_focus = RUS_ideocratic_principle }
				}
				remove_power_balance = { id = RUS_power_balance }
				add_country_leader_trait = RUS_patriarch_of_populism
			}
			else_if = {
				limit = { has_completed_focus = RUS_ideocratic_principle }
				add_power_balance_value = {
					id = RUS_power_balance
					value = 0.15
				}
			}
			if = {
				limit = {
					has_completed_focus = RUS_savior_of_world
					has_character = RUS_pyotr_savitsky
					RUS_pyotr_savitsky = { is_second_in_command = no }
				}
				retire_character = RUS_pyotr_savitsky
			}
			if = {
				limit = { has_character = RUS_mikhail_georgiyevsky }
				retire_character = RUS_mikhail_georgiyevsky
			}
			if = {
				limit = { has_character = RUS_pavel_agyeyev }
				retire_character = RUS_pavel_agyeyev
			}
			if = {
				limit = { has_character = RUS_pyotr_krasnov }
				retire_character = RUS_pyotr_krasnov
			}
			if = {
				limit = { has_character = RUS_alisa_berkova }
				retire_character = RUS_alisa_berkova
			}
			if = {
				limit = { has_character = RUS_anastasy_vonsyatsky }
				retire_character = RUS_anastasy_vonsyatsky
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_national_populist_military
		icon = GFX_focus_generic_full_social_mobilization
		cost = 5
		relative_position_id = RUS_savior_of_world
		x = 2
		y = 2
		available = {
			has_completed_focus = RUS_army_commissars
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_ideocratic_principle
			focus = RUS_savior_of_world
			focus = RUS_codification_of_regime
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_populist_military"
			add_stability = 0.1
			if = {
				limit = {
					NOT = { has_country_flag = RUS_has_loyalist_commander }
				}
				country_event = russia_events.259 #New Supreme Commander-in-Chief
			}
			custom_effect_tooltip = tooltip_white_line
			remove_ideas = RUS_military_anger
			add_timed_idea = {
				idea = RUS_military_purges_2
				days = 182
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = RUS_army_commissars_idea_2 }
				swap_ideas = {
					remove_idea = RUS_army_commissars_idea_2
					add_idea = RUS_army_commissars_idea
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_army_commissars_idea
					add_idea = RUS_army_commissars_idea_3
				}
			}
			add_popularity = { ideology = paternal_autocrat popularity = -0.25 }
			hidden_effect = {
				remove_targeted_decision = { decision = RUS_appoint_loyalist_commander target = ROOT }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_last_rome
		icon = GFX_focus_SOV_rebuild_the_savior_cathedral
		cost = 5
		relative_position_id = RUS_savior_of_world
		x = -2
		y = 2
		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_project_sumerki
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_last_rome"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			add_stability = 0.05
			219 = {
				add_dynamic_modifier = { modifier = RUS_third_rome_city }
				hidden_effect = {
					RUS_remove_VES_modifier = yes
				}
			}
			if = {
				limit = { has_completed_focus = RUS_dealing_with_faith }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_constaniople_claim_tt
				hidden_effect = {
					add_state_claim = 340 #Bursa
					add_state_claim = 341 #Adrianople
					add_state_claim = 773 #Constantinople
				}
			}
			#EVENT great moscow rebuilding and other architectural projects around russia
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_national_labour_system
		icon = GFX_focus_GRE_an_orthodox_state
		cost = 8
		relative_position_id = RUS_savior_of_world
		x = -3
		y = 1
		available = {
			if = {
				limit = { is_ai = no }
				RUS_mikhail_georgiyevsky = { is_hired_as_advisor = yes }
				has_stability > 0.6
			}
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_codification_of_regime
		}
		continue_if_invalid = yes
		ai_will_do = { factor = 100 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_national_labour_system"
			country_event = { id = russia_events.306 days = 20 } #Relaxation of the Economy
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_labour_system"
			#Abolish VES; more privatisation, return to "normalcy"
			effect_tooltip = {
				set_cosmetic_tag = RUS_natrep
			}
			remove_ideas = RUS_supreme_economic_council
			if = {
				limit = { has_idea = RUS_national_solidarism_idea }
				swap_ideas = {
					remove_idea = RUS_national_solidarism_idea
					add_idea = RUS_solidarist_economy_2
				}
			}
			else = {
				add_ideas = RUS_solidarist_economy
			}
			add_popularity = { ideology = national_populist popularity = -0.1 }
			decrease_economic_mobilisation = yes
			hidden_effect = {
				country_event = russia_events.323
				country_event = { id = russia_events.308 days = 30 } #The Vozhd Complains
				country_event = { id = russia_events.307 days = 70 } #Fate of Political Prisoners?
				remove_ideas = {
					RUS_supreme_economic_council_2
					RUS_supreme_economic_council_3
					RUS_supreme_economic_council_4
					RUS_expansion_of_VES_bureaucracy
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_shepherd_of_nations
		icon = GFX_goal_BEL_LP
		cost = 8
		relative_position_id = RUS_national_labour_system
		x = -1
		y = 1
		available = {
			num_faction_members > 5
			has_completed_focus = RUS_anti_internationale
			custom_override_tooltip = {
				tooltip = RUS_power_projection_40_cost
				check_variable = { RUS_power_projection > 39 }
			}
			custom_override_tooltip = {
				tooltip = RUS_shepherd_nations_tt
				NOT = { any_enemy_country = { is_actual_major = yes } }
			}
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_national_labour_system
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_shepherd_of_nations"
			hidden_effect = { news_event = { id = russia_news_events.23 days = 1 } }
			add_political_power = -100
			country_event = russia_events.310 #Foundation of Holy Alliance
			set_faction_name = faction_holy_league
			every_other_country = {
				limit = {
					OR = {
						any_neighbor_country = { has_socialist_government = yes }
						has_government = national_populist
						tag = IRE
						tag = NFA
						if = {
							limit = { country_exists = WCA }
							tag = CUB
							tag = DOM
							tag = WIF
							tag = HAW
						}
						if = {
							limit = { CHN = { has_socialist_government = yes } }
							tag = JAP
							tag = INS
							tag = PHI
						}
						if = {
							limit = { country_exists = ENG }
							is_scandinavian_tag = yes
						}
					}
					NOT = {
						tag = GEX
						tag = GEA
						is_chinese_tag = yes
						num_of_factories > 150
						is_subject = yes
						is_in_faction = yes
						has_socialist_government = yes
					}
				}
				ROOT = {
					activate_targeted_decision = { target = PREV decision = RUS_invite_alliance }
				}
			}
			swap_ideas = {
				remove_idea = RUS_russian_cause_idea
				add_idea = RUS_russian_cause_idea_2
			}
			add_named_threat = {
				threat = -20
				name = faction_holy_league
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_planification_of_society
		icon = GFX_goal_Focus_Military_Mobilisation
		cost = 6
		relative_position_id = RUS_ideocratic_principle
		x = 1
		y = 1
		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_ideocratic_principle
		}
		ai_will_do = { factor = 100 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_planification_of_society"
			country_event = { id = russia_events.316 days = 20 } #Economy of Dialectical Statism
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_planification_of_society"
			custom_effect_tooltip = RUS_eurasian_resources_tt
			activate_targeted_decision = { decision = RUS_eurasia_canal target = 235 }
			activate_targeted_decision = { decision = RUS_transcaspian_canal target = 861 }
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = RUS_supreme_economic_council_2 }
				swap_ideas = {
					remove_idea = RUS_supreme_economic_council_2
					add_idea = RUS_supreme_economic_council_3
				}
			}
			else_if = {
				limit = { has_idea = RUS_supreme_economic_council_3 }
				swap_ideas = {
					remove_idea = RUS_supreme_economic_council_3
					add_idea = RUS_supreme_economic_council_5
				}
			}
			else_if = {
				limit = { has_idea = RUS_supreme_economic_council_4 }
				swap_ideas = {
					remove_idea = RUS_supreme_economic_council_4
					add_idea = RUS_supreme_economic_council_5
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_heiress_of_genghis
		icon = GFX_goal_MON_Statue_of_the_Khan #focus_TUR_the_sun_language_theory
		cost = 6
		relative_position_id = RUS_planification_of_society
		x = 1
		y = 1
		available = {
			has_government = national_populist
		}
		prerequisite = {
			focus = RUS_planification_of_society
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_heiress_of_genghis"
			hidden_effect = { news_event = { id = russia_news_events.24 days = 1 } }
			country_event = russia_flavour_events.145
			custom_effect_tooltip = tooltip_white_line
			set_cosmetic_tag = RUS_union
			set_faction_name = faction_eurasian_treaty_organisation
			set_temp_variable = { RUS_power_change = 20 }
			RUS_change_projection = yes
			custom_effect_tooltip = RUS_heiress_of_genghis_tt
			hidden_effect = {
				country_event = { id = russia_events.319 days = 365 } #Engulfed in the Machine
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_third_angel
		icon = GFX_goal_RUS_third_angel
		cost = 6
		relative_position_id = RUS_savior_of_world
		x = 0
		y = 2
		allow_branch = {
			OR = {
				country_exists = INT
				has_country_flag = RUS_started_WK3
			}
			has_government = national_populist
		}
		continue_if_invalid = yes
		available = {
			has_country_flag = RUS_first_atomic_test
			num_of_nukes > 0
			has_navy_size = { size > 59 }
			has_deployed_air_force_size = { size > 5999 }
			has_government = national_populist
			country_exists = INT
		}
		prerequisite = {
			focus = RUS_cleanse_the_party
		}
		prerequisite = {
			focus = RUS_savior_of_world
		}
		prerequisite = {
			focus = RUS_project_sumerki
		}
		ai_will_do = {
			factor = 500
			modifier = {
				factor = 0
				any_enemy_country = {
					OR = {
						tag = JAP
						is_actual_major = yes
					}
				}
			}
			modifier = {
				factor = 0
				date < 1943.1.1
			}
		}
		will_lead_to_war_with = INT
		will_lead_to_war_with = FRA
		will_lead_to_war_with = ENG
		will_lead_to_war_with = SRI
		will_lead_to_war_with = GRU
		will_lead_to_war_with = WCA
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_third_angel"
			set_country_flag = RUS_started_WK3
			add_country_leader_trait = RUS_horseman_of_apocalypse
			add_named_threat = {
				threat = 100
				name = RUS_third_angel
			}
			custom_effect_tooltip = RUS_third_angel_tt
			add_stability = -0.1
			hidden_effect = {
				news_event = { id = russia_news_events.22 days = 1 }
				country_event = russia_events.321 #Operation Arkhangel
				if = {
					limit = { has_global_flag = allow_sound_events_flag }
					scoped_play_song = "tchaikovsky_1812_overture"
				}
				every_country = {
					limit = { has_socialist_government = yes }
					ROOT = {
						declare_war_on = {
							target = PREV
							type = annex_everything
						}
					}
				}
				unlock_national_focus = RUS_extinguish_the_flame
				set_portraits = {
					character = RUS_boris_savinkov
					civilian = { large = GFX_portrait_RUS_boris_savinkov_uniform_large }
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_AIRFORCE_BONUS FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_paradise_regained
		icon = GFX_focus_AUS_agriculture
		cost = 6
		relative_position_id = RUS_savior_of_world
		x = 0
		y = 2
		allow_branch = {
			RUS_savinkov = yes
			NOT = { country_exists = INT }
			NOT = { has_country_flag = RUS_started_WK3 }
		}
		available = {
			has_war = no
		}
		prerequisite = {
			focus = RUS_cleanse_the_party
		}
		prerequisite = {
			focus = RUS_savior_of_world
		}
		prerequisite = {
			focus = RUS_project_sumerki
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_paradise_regained"
			add_country_leader_trait = RUS_last_narodniks
			add_stability = 0.15
			add_named_threat = {
				threat = -25
				name = RUS_paradise_regained
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	### Republican + monarchist tree ###
	focus = {
		id = RUS_democracy_restored
		icon = GFX_goal_RUS_taurida_palace
		cost = 6
		offset = {
			y = 2
			trigger = { RUS_savinkov = yes }
		}
		offset = {
			y = -16
			trigger = { RUS_is_demrus = yes }
		}
		offset = {
			x = -2
			trigger = { RUS_ivan_solonevich = { is_second_in_command = yes } }
		}

		x = 10
		y = 16
		allow_branch = { has_socialist_government = no }
		available = { hidden_trigger = { always = no } }
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democracy_restored"
			RUS_set_default_industry_costs = yes
			clr_country_flag = RUS_purged_social_democrats #Restores possibly purged socialists
		}
	}

	focus = {
		id = RUS_never_another_savinkov
		icon = GFX_goal_RUS_never_another_savinkov
		cost = 6

		relative_position_id = RUS_democracy_restored
		x = -1
		y = 1
		available = {
			custom_override_tooltip = {
				tooltip = RUS_decrees_law_NOT
				NOT = { has_country_flag = RUS_decrees_law }
			}
			NOT = { has_completed_focus = RUS_black_baron }
		}
		prerequisite = {
			focus = RUS_democracy_restored
		}
		mutually_exclusive = {
			focus = RUS_maintain_strong_executive
		}
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.1
				has_government = paternal_autocrat
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_never_another_savinkov"
			add_stability = 0.05
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_separation_of_powers
			RUS_increase_democracy = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_maintain_strong_executive
		icon = GFX_goal_liberty
		cost = 6

		relative_position_id = RUS_democracy_restored
		x = 1
		y = 1
		available = {
			custom_override_tooltip = {
				tooltip = RUS_confidence_votes_law_NOT
				NOT = { has_country_flag = RUS_confidence_votes_law }
			}
		}
		prerequisite = {
			focus = RUS_democracy_restored
		}
		mutually_exclusive = {
			focus = RUS_never_another_savinkov
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_maintain_strong_executive"
			add_political_power = 100
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_powerful_executive
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_controlling_the_military
		icon = {
			trigger = { RUS_sergey_markov = { is_army_chief = yes } }
			value = GFX_goal_RUS_markov
		}
		icon = {
			trigger = { RUS_pyotr_wrangel = { is_army_chief = yes } }
			value = GFX_goal_RUS_wrangel
		}
		icon = {
			trigger = { RUS_lavr_kornilov = { is_army_chief = yes } }
			value = GFX_goal_RUS_kornilov
		}
		icon = {
			value = GFX_goal_RUS_denikin
		}
		dynamic = yes
		cost = 6
		allow_branch = {
			is_monarchy = no
			RUS_wrangel = no
			RUS_boldyrev = no
			has_socialist_government = no
		}
		relative_position_id = RUS_democracy_restored
		x = -3
		y = 1
		available = {
			NOT = {
				has_country_leader = { character = RUS_anton_denikin }
				has_country_leader = { character = RUS_pyotr_wrangel }
				has_country_leader = { character = RUS_vasily_boldyrev }
			}
		}

		prerequisite = {
			focus = RUS_democracy_restored
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = 5
				OR = {
					has_government = social_democrat
					has_government = social_liberal
				}
			}
			modifier = {
				factor = 3
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 5
				OR = {
					has_country_flag = RUS_dolgorukov_ai
					has_country_flag = RUS_kartashyov_ai
				}
				has_completed_focus = RUS_balance_of_powers
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_sulimov_ai
			}
			modifier = {
				factor = 10
				has_country_flag = RUS_rikhter_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_controlling_the_military"
			add_political_power = 75
			RUS_increase_democracy = yes
			country_event = russia_democratic_events.23
			custom_effect_tooltip = tooltip_white_line
			unlock_decision_tooltip = {
				decision = RUS_army_extra_funding
				show_effect_tooltip = no
				show_modifiers = no
			}
			unlock_decision_tooltip = {
				decision = RUS_cut_army_funding
				show_effect_tooltip = no
				show_modifiers = no
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_ally_army
		icon = GFX_focus_POL_beck_ribbentrop
		cost = 6
		relative_position_id = RUS_controlling_the_military
		x = 1
		y = 1
		bypass = { NOT = { has_idea = RUS_military_anger_dem } }
		available = {
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_has_national_spirit
					IDEA = RUS_republic_under_watch
				}
				OR = {
					has_idea = RUS_republic_under_watch
					has_idea = RUS_republic_under_watch_2
				}
			}
		}

		prerequisite = {
			focus = RUS_controlling_the_military
		}
		mutually_exclusive = {
			focus = RUS_republicanisation_of_army
		}

		ai_will_do = {
			factor = 25
			modifier = {
				add = 5
				has_government = social_conservative
				has_active_mission = RUS_VPP_tension
			}
			modifier = {
				factor = 0
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 3
				OR = {
					has_country_flag = RUS_dolgorukov_ai
					has_country_flag = RUS_kartashyov_ai
				}
				has_completed_focus = RUS_balance_of_powers
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_sulimov_ai
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_rdp_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ally_army"
			if = {
				limit = { has_country_flag = RUS_enshrine_military_role_law }
				add_stability = 0.15
			}
			else_if = {
				limit = { has_government = social_democrat }
				add_popularity = { ideology = social_democrat popularity = -0.05 }
			}
			else = { add_stability = 0.1 }
			if = {
				limit = { has_idea = RUS_republic_under_watch_2 }
				swap_ideas = {
					remove_idea = RUS_republic_under_watch_2
					add_idea = RUS_guarantor_of_stability
				}
			}
			else_if = {
				limit = { has_idea = RUS_guarantor_of_stability }
				swap_ideas = {
					remove_idea = RUS_guarantor_of_stability
					add_idea = RUS_guarantor_of_stability_2
				}
			}
			else = {
				add_political_power = 60
				swap_ideas = {
					remove_idea = RUS_republic_under_watch
					add_idea = RUS_guarantor_of_stability
				}
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				add_to_variable = { RUS_apathy_var = 1 }
				custom_effect_tooltip = RUS_apathy_increase_tt
			}
			set_temp_variable = { RUS_anger_change = -3 }
			RUS_change_military_anger = yes
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
			add_popularity = { ideology = paternal_autocrat popularity = 0.05 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = RUS_republicanisation_of_army
		icon = GFX_goal_HOL_CNA_restored_stability
		cost = 6
		dynamic = yes
		bypass = { NOT = { has_idea = RUS_military_anger_dem } }
		available = {
			custom_override_tooltip = {
				tooltip = RUS_enshrine_military_role_law_NOT
				NOT = { has_country_flag = RUS_enshrine_military_role_law }
			}
			has_idea = RUS_republic_under_watch
			RUS_solonevich = no
		}
		relative_position_id = RUS_controlling_the_military
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_controlling_the_military
		}
		mutually_exclusive = {
			focus = RUS_ally_army
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				add = -5
				has_government = social_conservative
				has_active_mission = RUS_VPP_tension
			}
			modifier = {
				factor = 0
				RUS_rikhter = yes
				OR = {
					has_game_rule = { rule = RUS_path option = RUS_PATH_FONDAMINSKY_SOCLIB }
					has_game_rule = { rule = RUS_path option = RUS_PATH_SOROKIN_SOCLIB }
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_dolgorukov_ai
					has_country_flag = RUS_kartashyov_ai
				}
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_sulimov_ai
			}
			modifier = {
				factor = 10
				has_country_flag = RUS_rdp_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_republicanisation_of_army"
			activate_targeted_decision = { decision = RUS_ideological_officer_curriculum target = ROOT }
			activate_targeted_decision = { decision = RUS_promote_young_blood target = ROOT }
			activate_targeted_decision = { decision = RUS_sideline_monarchists target = ROOT }
			activate_targeted_decision = { decision = RUS_remove_denikin target = ROOT }
			if = {
				limit = { has_active_mission = RUS_bold_promises }
				add_days_mission_timeout = {
					mission = RUS_bold_promises
					days = 90
				}
			}
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_anger_change = 2 }
			RUS_change_military_anger = yes
			custom_effect_tooltip = RUS_army_rep_tt
			effect_tooltip = {
				remove_ideas = RUS_republic_under_watch
				if = {
					limit = { has_active_mission = RUS_rightwing_obscurantism_rikhter }
					remove_mission = RUS_rightwing_obscurantism_rikhter
				}
				custom_effect_tooltip = tooltip_white_line
				random_character = {
					limit = {
						is_field_marshal = yes
						skill > 3
						NOT = {
							RUS = { RUS_mikhail_drozdovsky = { is_character = PREV.PREV } }
							RUS = { RUS_pyotr_wrangel = { is_character = PREV.PREV } }
							RUS = { RUS_anton_denikin = { is_character = PREV.PREV } }
							RUS = { RUS_lavr_kornilov = { is_character = PREV.PREV } }
						}
					}
					add_advisor_role = {
						activate = yes
						# No idea_token means it will default to <character>_army_chief
						advisor = {
							slot = army_chief
							idea_token = RUS_denikin_successor_army_chief
							traits = { KR_army_chief_offensive_3 }
							cost = 200
							can_be_fired = no
						}
					}
				}
			}
			hidden_effect = {
				RUS_vladimir_kappel = { remove_unit_leader_trait = RUS_monarchist_officer }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER }
	}

	focus = {
		id = RUS_address_the_people
		icon = GFX_goal_GEO_royal_house
		cost = 6
		allow_branch = {
			is_monarchy = yes
			if = {
				limit = { RUS_wrangel = yes }
				has_country_flag = RUS_wrangel_path
			}
		}
		relative_position_id = RUS_democracy_restored
		x = -3
		y = 1
		prerequisite = {
			focus = RUS_democracy_restored
		}
		available = {
			if = {
				limit = { has_government = social_liberal }
				social_liberal > 0.35
			}
			else_if = {
				limit = { has_government = market_liberal }
				market_liberal > 0.3
			}
			else_if = {
				limit = { has_government = social_conservative }
				social_conservative > 0.25
			}
		}

		ai_will_do = {
			factor = 12
			modifier = {
				add = 5
				has_stability < 0.3
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_sr_ai
				date < 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_address_the_people"
			add_stability = 0.1
			if = {
				limit = { NOT = { has_idea = RUS_imperial_popularity_5 } }
				activate_targeted_decision = { decision = RUS_patron_of_culture target = ROOT }
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_distribute_honours
		icon = GFX_goal_generic_civilian_oversight
		cost = 6
		relative_position_id = RUS_address_the_people
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_address_the_people
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_distribute_honours"
			add_political_power = 100
			if = {
				limit = { has_dlc_nsb = yes }
				random_country_division = {
					limit = {
						OR = {
							division_has_majority_template = light_armor
							division_has_majority_template = medium_armor
						}
					}
					custom_effect_tooltip = RUS_distribute_honours_tt
					hidden_effect = {
						add_history_entry = {
							key = RUS_distribute_honours_key
							subject = RUS_distribute_honours_tt
							allow = yes
						}
					}
				}
			}
			every_unit_leader = {
				limit = { skill > 1 }
				random_select_amount = 3
				gain_xp = 25
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_crimes_of_the_past
		icon = GFX_goal_generic_crush_natpops
		cost = 5
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
		}

		relative_position_id = RUS_democracy_restored
		x = 3
		y = 1
		prerequisite = {
			focus = RUS_democracy_restored
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_demands_from_unions_monarchy
				national_populist > 0.05
			}
			modifier = {
				factor = 3
				OR = {
					has_country_flag = RUS_kartashyov_ai
					has_country_flag = RUS_dolgorukov_ai
				}
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_sulimov_ai
			}
			modifier = {
				factor = 0.1
				has_government = paternal_autocrat
				NOT = {
					has_country_flag = RUS_sr_ai
					has_country_flag = RUS_empire_ai
				}
			}
			modifier = {
				factor = 12
				has_government = paternal_autocrat
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_crimes_of_the_past"
			RUS_increase_democracy = yes
			if = {
				limit = { national_populist > 0.05 }
				add_popularity = { ideology = national_populist popularity = -0.2 }
			}
			if = {
				limit = {
					authoritarian_democrat > 0.05
					is_monarchy = no
					is_in_coalition_with_authoritarian_democrat = no
				}
				add_popularity = { ideology = authoritarian_democrat popularity = -0.1 }
			}
			if = {
				limit = {
					RUS_boldyrev = yes
					totalist > 0.05
				}
				add_popularity = { ideology = totalist popularity = -0.1 }
			}
			if = {
				limit = {
					RUS_boldyrev = yes
					syndicalist > 0.05
				}
				add_popularity = { ideology = syndicalist popularity = -0.1 }
			}
			country_event = russia_democratic_events.19 #Crimes of the Past
			custom_effect_tooltip = russia_democratic_events.19.tt
			hidden_effect = {
				country_event = { id = russia_democratic_events.20 days = 30 random_days = 5 } #Trial Revelations
				country_event = { id = russia_democratic_events.27 days = 60 } #The Security Apparatus
			}
			if = {
				limit = {
					RUS_boldyrev = yes
					has_global_flag = RUS_socrus_happened
				}
				every_character = {
					limit = { has_trait = RUS_red_army_trait }
					retire = yes
				}
				if = {
					limit = { has_character = RUS_yury_sablin }
					retire_character = RUS_yury_sablin
				}
			}
			else = {
				every_character = {
					limit = { has_trait = RUS_savinkovist_officer }
					retire = yes
				}
				if = {
					limit = { has_character = RUS_nikolay_sakharov }
					retire_character = RUS_nikolay_sakharov
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_press_controls
		icon = GFX_goal_generic_seize_press
		cost = 5
		relative_position_id = RUS_crimes_of_the_past
		x = 1
		y = 1
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				has_socialist_government = yes
			}
		}
		prerequisite = {
			focus = RUS_crimes_of_the_past
		}
		available = {
			has_country_flag = RUS_had_first_election
			if = {
				limit = { has_liberal_government = yes }
				custom_override_tooltip = {
					tooltip = RUS_law_on_freedoms_NOT
					NOT = { has_country_flag = RUS_law_on_freedoms }
				}
			}
			NOT = { has_completed_focus = RUS_sorokin_reforms }
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
				has_active_mission = RUS_PSR_conference
			}
			modifier = {
				factor = 0
				is_monarchy = yes
				NOT = {
					has_country_flag = RUS_fulfilled_union_reforms
				}
			}
			modifier = {
				factor = 3
				OR = {
					has_country_flag = RUS_dolgorukov_ai
					has_country_flag = RUS_kartashyov_ai
				}
				NOT = {
					has_country_leader = { character = RUS_pyotr_dolgorukov }
					has_country_leader = { character = RUS_anton_kartashyov }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_press_controls"
			add_political_power = 100
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				add_to_variable = { RUS_apathy_var = 1 }
				custom_effect_tooltip = RUS_apathy_increase_tt
			}
			if = {
				limit = { is_monarchy = yes }
				custom_effect_tooltip = RUS_NMD_media_empire_tt
				set_variable = { RUS_propaganda_cost = 30 }
			}
			if = {
				limit = { is_ai = no }
				unlock_decision_tooltip = RUS_press_censorship_campaign
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_boris_suvorin_advisor
			}
			else = {
				activate_advisor = RUS_boris_suvorin_advisor
			}
			if = {
				limit = { has_soclib_or_socdem_government = yes }
				RUS_decrease_democracy = yes
			}
			else_if = {
				limit = { RUS_solonevich = yes }
				add_trait = {
					character = RUS_boris_suvorin
					slot = second_in_command
					trait = KR_editor_in_chief_sic
				}
			}
			if = {
				limit = {
					is_monarchy = yes
					has_marlib_or_soclib_government = yes
				}
				custom_effect_tooltip = RUS_demands_from_unions_monarchy_tt
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_privatisation
		icon = GFX_goal_generic_debt_negotiations
		cost = 5
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
		}
		available = { RUS_sulimov = no }
		relative_position_id = RUS_democracy_restored
		x = 2
		y = 2
		dynamic = yes
		prerequisite = {
			focus = RUS_democracy_restored
		}

		ai_will_do = { factor = 300 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_privatisation"
			hidden_effect = {
				country_event = { id = russia_democratic_events.30 days = 20 } #Extent of Privatisation
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_privatisation"
			if = {
				limit = { has_idea = RUS_post-savinkov_economy }
				remove_ideas = RUS_post-savinkov_economy
			}
			if = {
				limit = { has_idea = RUS_post-soc_economy }
				remove_ideas = RUS_post-soc_economy
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_has_black_monday = yes
					NOT = { has_country_flag = RUS_restricted_nationalisation_law }
				}
				RUS_decrease_black_monday = yes
				add_timed_idea = {
					idea = RUS_influx_of_capital
					days = 180
				}
			}
			else_if = {
				limit = {
					RUS_has_black_monday = no
					NOT = { has_country_flag = RUS_restricted_nationalisation_law }
				}
				add_timed_idea = {
					idea = RUS_influx_of_capital
					days = 365
				}
			}
			else_if = {
				limit = {
					RUS_has_black_monday = yes
					has_country_flag = RUS_restricted_nationalisation_law
				}
				RUS_decrease_black_monday = yes
				add_timed_idea = {
					idea = RUS_influx_of_capital
					days = 280
				}
			}
			else = {
				add_timed_idea = {
					idea = RUS_influx_of_capital
					days = 465
				}
			}
			if = {
				limit = { has_active_mission = RUS_pay_back_backers }
				set_temp_variable = { RUS_anger_change = 1 }
				RUS_change_left_anger = yes
			}
			hidden_effect = {
				country_event = { id = russia_democratic_events.28 days = 120 } #The Golden Handshake
			}
			if = {
				limit = { RUS_boldyrev = yes }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = vostokneft
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = treugolnik
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = mps
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION }
	}

	focus = { # Will be bypassed by an event
		id = RUS_elections
		icon = GFX_goal_generic_elections
		cost = 3

		relative_position_id = RUS_never_another_savinkov
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_never_another_savinkov
			focus = RUS_maintain_strong_executive
		}
		available = { always = no }
		bypass = {
			has_country_flag = RUS_had_first_election
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_elections"
		}
	}

	focus = {
		id = RUS_socdems
		icon = GFX_goal_RUS_socdems
		cost = 1
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
		}
		relative_position_id = RUS_democracy_restored
		x = -9
		y = 3

		prerequisite = {
			focus = RUS_elections
		}
		available = { always = no }
		bypass = { has_government = social_democrat }
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_socdems"
			RUS_set_default_industry_costs = yes
			hidden_effect = {
				uncomplete_national_focus = { focus = RUS_soclibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_marlibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soccons uncomplete_children = yes }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_soclibs
		icon = GFX_goal_RUS_soclibs
		cost = 1
		relative_position_id = RUS_democracy_restored
		x = -3
		y = 3
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
		}
		prerequisite = {
			focus = RUS_elections
		}
		available = { always = no }
		bypass = { has_government = social_liberal }
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_soclibs"
			RUS_set_default_industry_costs = yes
			hidden_effect = {
				uncomplete_national_focus = { focus = RUS_socdems uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_marlibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soccons uncomplete_children = yes }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_marlibs
		icon = GFX_goal_RUS_marklibs
		cost = 1
		relative_position_id = RUS_democracy_restored
		x = 3
		y = 3
		offset = {
			x = -9
			trigger = {
				RUS_wrangel_path = yes
			}
		}

		prerequisite = {
			focus = RUS_elections
		}
		available = { always = no }
		bypass = { has_government = market_liberal }
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_marlibs"
			RUS_set_default_industry_costs = yes
			hidden_effect = {
				uncomplete_national_focus = { focus = RUS_socdems uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soclibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soccons uncomplete_children = yes }
				country_event = { id = russia_democratic_events.29 days = 120 } #Secularisation of the Education System
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_soccons
		icon = GFX_goal_RUS_soccons
		cost = 1
		relative_position_id = RUS_democracy_restored
		x = 9
		y = 3
		offset = {
			x = -9
			trigger = {
				RUS_wrangel_path = yes
			}
		}
		dynamic = yes
		prerequisite = {
			focus = RUS_elections
		}
		available = { always = no }
		bypass = {
			OR = {
				has_government = social_conservative
				RUS = { RUS_pyotr_wrangel = { is_second_in_command = yes } }
			}
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_soccons"
			RUS_set_default_industry_costs = yes
			hidden_effect = {
				country_event = { id = russia_democratic_events.78 days = 700 } #The Conservative Rural Program
				uncomplete_national_focus = { focus = RUS_socdems uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soclibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_marlibs uncomplete_children = yes }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_working_peasant_program
		icon = GFX_goal_generic_agriculture2
		cost = 6
		relative_position_id = RUS_socdems
		x = -1
		y = 1
		allow_branch = {
			RUS_sulimov = no
			is_monarchy = no
			has_socialist_government = no
		}
		prerequisite = {
			focus = RUS_socdems
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_working_peasant_program"
			if = {
				limit = { is_in_coalition_with_social_liberal = yes }
				custom_effect_tooltip = RUS_soclib_boost_tt
				add_timed_idea = {
					idea = RUS_working_peasant_programme
					days = 730
				}
			}
			else = {
				add_timed_idea = {
					idea = RUS_working_peasant_programme
					days = 365
				}
			}
			if = {
				limit = { has_active_mission = RUS_land_reform_in_progress }
				add_days_mission_timeout = {
					mission = RUS_land_reform_in_progress
					days = -60
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_radical_democratic_judiciary
		icon = GFX_goal_DOM_End_Judicial_Corruption
		cost = 5
		allow_branch = {
			RUS_is_demrus = yes
			RUS_sulimov = yes
		}
		relative_position_id = RUS_socdems
		x = -1
		y = 1
		prerequisite = {
			focus = RUS_socdems
		}
		ai_will_do = { factor = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_radical_democratic_judiciary"
			add_political_power = 70
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
			custom_effect_tooltip = RUS_raddem_judiciary_denikin_retire_tt
			country_event = { id = russia_democratic_events.80 days = 30 } #The Republican Cadres
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_progressive_literature_clubs
		icon = GFX_goal_big_news
		cost = 6
		relative_position_id = RUS_socdems
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_socdems
			focus = RUS_soclibs
			focus = RUS_marlibs
		}
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
		}
		available = {
			OR = {
				has_soclib_or_socdem_government = yes
				if = {
					limit = { is_monarchy = yes }
					RUS_nikolay_nekrasov = { is_second_in_command = yes }
				}
				else = {
					has_completed_focus = RUS_free_fair_russia
				}
			}
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				RUS_sulimov = yes
			}
			modifier = {
				factor = 3
				has_government = social_democrat
				is_in_coalition_with_social_liberal = yes
			}
			modifier = {
				factor = 20
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
				has_completed_focus = RUS_democratic_education
			}
			modifier = {
				factor = 4
				has_government = market_liberal
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 25
				has_government = social_liberal
				is_monarchy = yes
				has_active_mission = RUS_demands_from_unions_monarchy
				NOT = {
					has_completed_focus = RUS_press_controls
					has_country_flag = RUS_state_protection_decree
					has_country_flag = RUS_destroyed_SVR
				}
				OR = {
					has_completed_focus = RUS_all-russian_equality
					has_completed_focus = RUS_sorokin_reforms
				}
				social_liberal > 0.2
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_titov_SR_demands
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_progressive_literature_clubs"
			if = {
				limit = {
					has_idea = RUS_democratic_education_idea
					has_soclib_or_socdem_government = yes
					is_monarchy = no
				}
				swap_ideas = {
					remove_idea = RUS_democratic_education_idea
					add_idea = RUS_democratic_foundation
				}
				RUS_increase_democracy = yes
			}
			else_if = {
				limit = { has_government = market_liberal }
				add_popularity = {
					ideology = market_liberal
					popularity = 0.06
				}
				add_popularity = {
					ideology = social_liberal
					popularity = 0.03
				}
				add_stability = 0.05
			}
			else_if = {
				limit = {
					has_government = social_liberal
					is_monarchy = yes
					has_idea = RUS_democratic_education_idea
				}
				swap_ideas = {
					remove_idea = RUS_democratic_education_idea
					add_idea = RUS_democratic_foundation
				}
			}
			else_if = {
				limit = {
					has_government = social_liberal
					is_monarchy = yes
					NOT = { has_idea = RUS_democratic_education_idea }
				}
				add_ideas = RUS_literary_clubs #Fondaminsky gets this directly so that Sorokin reforms finisher works properly
			}
			else = {
				add_ideas = RUS_literary_clubs
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				custom_effect_tooltip = RUS_apathy_decrease_tt
				add_to_variable = { RUS_apathy_var = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_democratic_education
		icon = GFX_goal_KTG_Educate_natives
		cost = 6
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
		}
		relative_position_id = RUS_socdems
		x = 3
		y = 1

		prerequisite = {
			focus = RUS_socdems
			focus = RUS_soclibs
			focus = RUS_marlibs
		}
		available = {
			OR = {
				has_soclib_or_socdem_government = yes
				if = {
					limit = { is_monarchy = yes }
					RUS_nikolay_nekrasov = { is_second_in_command = yes }
				}
				else = {
					has_completed_focus = RUS_free_fair_russia
				}
			}
			NOT = { has_completed_focus = RUS_national_education }
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				RUS_sulimov = yes
			}
			modifier = {
				factor = 3
				has_government = social_democrat
				is_in_coalition_with_social_liberal = yes
			}
			modifier = {
				factor = 20
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
				has_completed_focus = RUS_new_russian_capitalism
			}
			modifier = {
				factor = 5
				OR = {
					has_government = social_liberal
					RUS_nikolay_nekrasov = { is_second_in_command = yes }
				}
				has_active_mission = RUS_demands_from_unions_monarchy
			}
			modifier = {
				factor = 4
				has_government = market_liberal
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 50
				NOT = {
					has_completed_focus = RUS_press_controls
					has_country_flag = RUS_state_protection_decree
					has_country_flag = RUS_destroyed_SVR
				}
				OR = {
					has_completed_focus = RUS_all-russian_equality
					has_completed_focus = RUS_sorokin_reforms
				}
				social_liberal > 0.2
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_titov_SR_demands
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democratic_education"
			if = {
				limit = { has_idea = RUS_literary_clubs }
				swap_ideas = {
					remove_idea = RUS_literary_clubs
					add_idea = RUS_democratic_foundation
				}
				RUS_increase_democracy = yes
			}
			else = {
				set_temp_variable = { ideology_change_var = 3 }
				change_ruling_party_popularity = yes
				add_ideas = RUS_democratic_education_idea
			}
			if = {
				limit = { RUS_boldyrev = yes }
				add_research_slot_until_five = yes
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				custom_effect_tooltip = RUS_apathy_decrease_tt
				add_to_variable = { RUS_apathy_var = -1 }
			}
			hidden_effect = {
				if = {
					limit = { has_soclib_or_socdem_government = yes }
					country_event = { id = russia_democratic_events.29 days = 90 } #Secularisation of the Education System
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_against_radicalism
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 6
		relative_position_id = RUS_socdems
		x = 0
		y = 2
		offset = {
			x = 1
			y = 1
			trigger = { is_monarchy = yes }
		}
		available = {
			RUS_sulimov = no
			has_elected_government = yes
		}
		prerequisite = {
			focus = RUS_democratic_education
		}
		prerequisite = {
			focus = RUS_progressive_literature_clubs
		}
		mutually_exclusive = { focus = RUS_second_amnesty }

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2.5
				has_government = social_democrat
				has_active_mission = RUS_titov_demands_from_left
			}
			modifier = {
				factor = 20
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
				has_completed_focus = RUS_legal_reform
			}
			modifier = {
				factor = 0
				has_government = social_liberal
				OR = {
					has_active_mission = RUS_demands_from_unions_monarchy
					has_active_mission = RUS_SVR_activity
				}
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_against_radicalism"
			hidden_effect = {
				country_event = { id = russia_democratic_events.52 days = 5 } #Communists Within
				country_event = { id = russia_democratic_events.43 days = 25 } #Fate of ex-Svobodniks
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_against_radicalism"
			if = {
				limit = {
					OR = {
						has_idea = RUS_strong_democracy
						has_idea = RUS_genuine_democracy
					}
				}
				custom_effect_tooltip = RUS_against_radicalism2_tt
				add_political_power = 100
			}
			else = {
				add_timed_idea = {
					idea = RUS_fighting_democracy_campaign
					days = 180
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = after_idea_expires
				effect_tooltip = {
					RUS_increase_democracy = yes
				}
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = RUS_lost_wk2
						has_completed_focus = RUS_expand_okhrana
					}
				}
				unlock_decision_tooltip = RUS_raid_communists
				unlock_decision_tooltip = RUS_raid_fascists
			}
			if = {
				limit = { RUS_rikhter = yes }
				activate_targeted_decision = { decision = RUS_ban_monarchist_parties_rikhter target = ROOT }
			}
			if = {
				limit = { RUS_titov = yes }
				activate_targeted_decision = { decision = RUS_found_socdem_union target = ROOT }
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				custom_effect_tooltip = RUS_apathy_decrease_tt
				add_to_variable = { RUS_apathy_var = -1 }
			}
			RSA_rebuilding = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_legal_reform
		icon = GFX_Socialist_Law
		cost = 6

		relative_position_id = RUS_socdems
		x = 2
		y = 2

		prerequisite = {
			focus = RUS_democratic_education
		}
		prerequisite = {
			focus = RUS_progressive_literature_clubs
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 4
				has_government = social_democrat
				is_in_coalition_with_social_liberal = yes
			}
			modifier = {
				factor = 25
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 3
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 50
				NOT = {
					has_completed_focus = RUS_press_controls
					has_country_flag = RUS_state_protection_decree
					has_country_flag = RUS_destroyed_SVR
				}
				OR = {
					has_completed_focus = RUS_all-russian_equality
					has_completed_focus = RUS_sorokin_reforms
				}
				social_liberal > 0.2
			}
			modifier = {
				factor = 2
				has_government = social_liberal
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_titov_SR_demands
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_legal_reform"
			if = {
				limit = {
					is_monarchy = yes
					has_government = market_liberal
				}
				RUS_increase_democracy = yes
			}
			if = {
				limit = { RUS_sulimov = yes }
				add_popularity = { ideology = syndicalist popularity = 0.05 }
			}
			else_if = {
				limit = {
					NOT = { has_country_flag = RUS_lost_wk2 }
				}
				add_stability = 0.05
				hidden_effect = {
					RUS_vladimir_nabokov = { set_nationality = ROOT }
				}
				custom_effect_tooltip = tooltip_white_line
				add_advisor_role = {
					character = RUS_vladimir_nabokov
					advisor = {
						slot = political_advisor
						idea_token = RUS_vladimir_nabokov_dem_advisor
						traits = { KR_father_of_the_constitution }
						cost = 100
						ai_will_do = { factor = 100 }
					}
				}
				custom_effect_tooltip = tooltip_white_line
			}
			else = { add_stability = 0.05 }
			if = {
				limit = { is_monarchy = yes }
				RUS_increase_imperial_popularity = yes
			}
			else = {
				set_temp_variable = { ideology_change_var = 5 }
				change_ruling_party_popularity = yes
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				custom_effect_tooltip = RUS_apathy_decrease2_tt
				add_to_variable = { RUS_apathy_var = -2 }
			}
			if = {
				limit = { has_active_mission = RUS_bold_promises }
				add_days_mission_timeout = {
					mission = RUS_bold_promises
					days = 90
				}
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_military_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_second_amnesty
		icon = GFX_goal_syndicalism
		cost = 6
		relative_position_id = RUS_socdems
		x = -2
		y = 2
		allow_branch = {
			NOT = { has_country_flag = RUS_lost_wk2 }
			RUS_wrangel_path = no
			has_socialist_government = no
			is_monarchy = no
		}
		available = {
			RUS_sulimov = yes
			has_country_flag = RUS_repeal_communist_ban_law
			NOT = { has_character = RUS_anton_denikin }
		}
		prerequisite = {
			focus = RUS_working_peasant_program
			focus = RUS_radical_democratic_judiciary
		}
		mutually_exclusive = { focus = RUS_against_radicalism }

		ai_will_do = { factor = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_second_amnesty"
			effect_tooltip = {
				set_party_name = {
					ideology = social_democrat
					name = RUS_syndicalist2_party
					long_name = RUS_syndicalist2_party_long_fake
				}
			}
			set_temp_variable = { coalition_partner_var = token:syndicalist }
			add_to_coalition = yes
			set_variable = { RUS_soc_propaganda_cost = 20 }
			activate_targeted_decision = { decision = RUS_socialist_state_radio target = ROOT }
			add_popularity = { ideology = syndicalist popularity = 0.04 }
			add_popularity = { ideology = radical_socialist popularity = 0.04 }
			set_temp_variable = { RUS_anger_change = 3 }
			RUS_change_military_anger = yes
			set_temp_variable = { RUS_anger_change = 2 }
			RUS_change_right_anger = yes
			hidden_effect = {
				set_party_name = {
					ideology = social_democrat
					name = RUS_syndicalist2_party
					long_name = RUS_syndicalist2_party_long
				}
				country_event = { id = russia_democratic_events.90 days = 20 }
			}
			clr_country_flag = RUS_purged_social_democrats #Restores possibly purged socialists
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_democratisation_of_artels
		icon = GFX_goal_workers_rights
		cost = 6
		allow_branch = {
			RUS_sulimov = no
			is_monarchy = no
			has_socialist_government = no
		}
		relative_position_id = RUS_second_amnesty
		x = 1
		y = 1
		available = {
			if = {
				limit = { RUS_titov = yes }
				custom_override_tooltip = {
					tooltip = { localization_key = has_completed_decision DECISION = RUS_found_socdem_union }
					has_country_flag = RUS_socdem_unions
				}
			}
			else_if = {
				limit = { has_government = social_liberal }
				is_in_coalition_with_social_democrat = yes
			}
		}
		prerequisite = {
			focus = RUS_second_amnesty
			focus = RUS_against_radicalism
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0 #Don't take this branch if going for full socialism
				RUS_sulimov = yes
			}
			modifier = {
				factor = 20
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 10
				has_government = social_democrat
				has_active_mission = RUS_titov_demands_from_left
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democratisation_of_artels"
			if = {
				limit = { has_idea = RUS_vsodes }
				swap_ideas = {
					remove_idea = RUS_vsodes
					add_idea = RUS_vsodes_2
				}
			}
			else = {
				add_ideas = RUS_democratic_artels
			}
			if = {
				limit = { has_active_mission = RUS_titov_demands_from_left }
				add_days_mission_timeout = {
					mission = RUS_titov_demands_from_left
					days = 120
				}
			}
			add_popularity = { ideology = social_democrat popularity = 0.05 }
			add_popularity = { ideology = syndicalist popularity = -0.05 }
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_gergard_zeller_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_infiltrate_police
		icon = GFX_goal_generic_police_state
		cost = 6
		allow_branch = {
			RUS_is_demrus = yes
			RUS_sulimov = yes
		}
		relative_position_id = RUS_second_amnesty
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_second_amnesty
		}
		ai_will_do = { factor = 1000 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_infiltrate_police"
			country_event = { id = russia_democratic_events.84 days = 35 } #Attempt on Chairman-Minister's Life
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_infiltrate_police"
			add_popularity = { ideology = syndicalist popularity = 0.05 }
			add_stability = -0.1
			activate_targeted_decision = { decision = RUS_arrest_anti_republicans target = ROOT }
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_military_anger = yes
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_law_on_defence_of_revolution
		icon = GFX_goal_crush_monarchy
		cost = 4
		allow_branch = {
			RUS_is_demrus = yes
			RUS_sulimov = yes
		}
		relative_position_id = RUS_second_amnesty
		x = -1
		y = 1
		prerequisite = {
			focus = RUS_second_amnesty
		}
		ai_will_do = { factor = 1000 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_law_on_defence_of_revolution"
			country_event = { id = russia_democratic_events.83 days = 35 } #The Law on Defence of the Republic
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_law_on_defence_of_revolution"
			if = {
				limit = {
					has_active_mission = RUS_looming_military_coup
					is_ai = yes
				}
				add_days_mission_timeout = {
					mission = RUS_looming_military_coup
					days = 120
				}
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_military_anger = yes
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
			activate_targeted_decision = { decision = RUS_ban_monarchist_parties target = ROOT }
			activate_targeted_decision = { decision = RUS_purge_monarchist_officers target = ROOT }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_empower_autonomies
		icon = GFX_goal_generic_culture2
		cost = 6
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
		}
		relative_position_id = RUS_second_amnesty
		x = 3
		y = 1

		prerequisite = {
			focus = RUS_second_amnesty
			focus = RUS_against_radicalism
		}
		available = {
			if = {
				limit = { has_country_flag = RUS_lost_wk2 }
				has_soclib_or_socdem_government = yes
			}
			else = {
				has_government = social_democrat
				custom_override_tooltip = {
					tooltip = RUS_RDP_split_NOT
					NOT = { has_country_flag = RUS_RDP_split }
				}
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0 #Don't take this branch if going for full socialism
				RUS_sulimov = yes
			}
			modifier = {
				factor = 2.5
				has_active_mission = RUS_titov_demands_from_left
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_empower_autonomies"
			if = {
				limit = { RUS_sulimov = yes }
				add_popularity = { ideology = syndicalist popularity = 0.05 }
			}
			add_political_power = 50
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
			RUS_unlock_federal_decisions = yes
			RUS_unlock_autonomies = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_elected_officials
		icon = GFX_goal_generic_democratic_socialism
		cost = 6

		relative_position_id = RUS_empower_autonomies
		x = 1
		y = 1
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		prerequisite = {
			focus = RUS_empower_autonomies
		}
		available = {
			has_government = social_democrat
			custom_override_tooltip = {
				tooltip = RUS_RDP_split_NOT
				NOT = { has_country_flag = RUS_RDP_split }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_titov_demands_from_left
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_elected_officials"
			if = {
				limit = { has_idea = RUS_democratic_foundation }
				swap_ideas = {
					remove_idea = RUS_democratic_foundation
					add_idea = RUS_democratic_foundation_2
				}
			}
			if = {
				limit = { RUS_sulimov = yes }
				add_popularity = { ideology = syndicalist popularity = 0.08 }
			}
			else = { RUS_increase_democracy = yes }
			if = {
				limit = { has_active_mission = RUS_titov_demands_from_left }
				add_days_mission_timeout = {
					mission = RUS_titov_demands_from_left
					days = 90
				}
			}
			if = {
				limit = { has_active_mission = RUS_looming_military_coup }
				add_days_mission_timeout = {
					mission = RUS_looming_military_coup
					days = 60
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_civil_militia
		icon = GFX_focus_ETH_freedom_at_gunpoint
		cost = 6

		relative_position_id = RUS_empower_autonomies
		x = -1
		y = 1
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
		}
		prerequisite = {
			focus = RUS_empower_autonomies
			focus = RUS_infiltrate_police
			focus = RUS_democratisation_of_artels
		}
		available = {
			OR = {
				has_government = social_democrat
				RUS_rikhter = yes
			}
			custom_override_tooltip = {
				tooltip = RUS_RDP_split_NOT
				NOT = { has_country_flag = RUS_RDP_split }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_country_leader = { character = RUS_daniil_sulimov }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_civil_militia"
			add_ideas = RUS_civil_militia
			custom_effect_tooltip = tooltip_white_line
			enable_tech_militias = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { RUS_sulimov = yes }
				add_popularity = { ideology = syndicalist popularity = 0.05 }
			}
			else = {
				add_popularity = { ideology = social_democrat popularity = 0.05 }
				add_popularity = { ideology = radical_socialist popularity = 0.03 }
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_military_anger = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			if = {
				limit = { has_active_mission = RUS_looming_military_coup }
				add_days_mission_timeout = {
					mission = RUS_looming_military_coup
					days = 120
				}
			}
			if = {
				limit = { has_active_mission = RUS_bold_promises }
				add_days_mission_timeout = {
					mission = RUS_bold_promises
					days = 90
				}
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_bring_down_republic
		icon = GFX_focus_SWE_organize_a_putsch
		cost = 4
		allow_branch = {
			NOT = {
				RUS_titov = yes
				RUS_rikhter = yes
				RUS_sorokin = yes
				has_country_flag = RUS_lost_wk2
			}
			is_monarchy = no
			has_socialist_government = no
		}
		relative_position_id = RUS_second_amnesty
		x = 0
		y = 2

		continue_if_invalid = yes

		available = {
			if = {
				limit = { is_ai = no }
				syndicalist > 0.4
			}
			RUS_sulimov = yes
			custom_override_tooltip = {
				tooltip = RUS_judicial_review_law_NOT
				NOT = { has_country_flag = RUS_judicial_review_law }
			}
			custom_override_tooltip = {
				tooltip = RUS_enshrine_military_role_law_NOT
				NOT = { has_country_flag = RUS_enshrine_military_role_law }
			}
		}
		prerequisite = {
			focus = RUS_law_on_defence_of_revolution
		}
		prerequisite = {
			focus = RUS_infiltrate_police
		}
		prerequisite = {
			focus = RUS_second_amnesty
		}

		ai_will_do = { factor = 1000 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_bring_down_republic"
			country_event = { id = russia_democratic_events.86 days = 1 } #[GetYear] Snap Elections of the State Duma
			country_event = { id = russia_democratic_events.87 days = 14 } #Formation of the Workers' Coalition
			country_event = { id = russia_democratic_events.88 days = 28 } #Workers' Coalition Secures Majority
			country_event = { id = russia_democratic_events.89 days = 40 } #The Duma Votes to Extend State of Emergency
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_bring_down_republic"
			country_event = russia_socialist_events.1
			effect_tooltip = {
				set_politics = {
					ruling_party = syndicalist
					elections_allowed = yes
				}
			}
			effect_tooltip = {
				set_temp_variable = { RUS_anger_change = 10 }
				RUS_change_military_anger = yes
				set_temp_variable = { RUS_anger_change = 10 }
				RUS_change_right_anger = yes
			}
			hidden_effect = {
				RUS_daniil_sulimov = {
					remove_trait = { trait = RUS_sulimov_1_off ideology = social_democrat_subtype }
					clr_character_flag = RUS_traits_assigned
				}
				clr_country_flag = RUS_had_first_election
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_woo_spiridonova
		icon = GFX_goal_RUS_radsocs
		cost = 6
		allow_branch = {
			OR = {
				RUS_titov = yes
				RUS_rikhter = yes
				RUS_sorokin = yes
			}
		}
		available = {
			custom_override_tooltip = {
				tooltip = RUS_RDP_split_NOT
				NOT = { has_country_flag = RUS_RDP_split }
			}
		}
		relative_position_id = RUS_second_amnesty
		x = 0
		y = 2
		prerequisite = {
			focus = RUS_democratisation_of_artels
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 30
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_woo_spiridonova"
			set_temp_variable = { RUS_anger_change = -2 }
			RUS_change_left_anger = yes
			add_stability = 0.05
			add_war_support = -0.05
			set_temp_variable = { coalition_partner_var = token:radical_socialist }
			add_to_coalition = yes
			add_popularity = { ideology = radical_socialist popularity = 0.05 }
			if = {
				limit = { is_in_coalition_with_paternal_autocrat = yes }
				set_temp_variable = { coalition_partner_var = token:paternal_autocrat }
				remove_from_coalition = yes
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_vladimir_karelin_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_win_back_peasants
		icon = GFX_goal_agrarian_soldiers
		cost = 6

		relative_position_id = RUS_soclibs
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_soclibs
		}

		available = {
			hidden_trigger = {
				has_government = social_liberal
			}
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 5
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 50
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
				has_completed_focus = RUS_new_russian_capitalism
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_win_back_peasants"
			if = {
				limit = { RUS_rikhter = yes }
				custom_effect_tooltip = RUS_boosted_by_rikhter_tt
				add_timed_idea = {
					idea = RUS_win_back_peasants_idea
					days = 220
				}
			}
			else = {
				add_timed_idea = {
					idea = RUS_win_back_peasants_idea
					days = 160
				}
			}
			if = {
				limit = { has_active_mission = RUS_land_reform_in_progress }
				custom_effect_tooltip = tooltip_white_line
				add_days_mission_timeout = {
					mission = RUS_land_reform_in_progress
					days = -100
				}
			}
			custom_effect_tooltip = tooltip_white_line
			add_popularity = { ideology = national_populist popularity = -0.04 }
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_new_russian_capitalism
		icon = GFX_focus_generic_the_giant_wakes
		cost = 6
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
		}
		relative_position_id = RUS_soclibs
		x = 1
		y = 1
		available = {
			OR = {
				has_soclib_or_socdem_government = yes
				is_in_coalition_with_social_liberal = yes
			}
			if = {
				limit = { has_government = social_democrat }
				is_in_coalition_with_market_liberal = no
			}
		}
		prerequisite = {
			focus = RUS_marlibs
			focus = RUS_soclibs
			focus = RUS_socdems
		}
		mutually_exclusive = {
			focus = RUS_goseko
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				RUS_sulimov = yes
			}
			modifier = {
				add = 25
				has_government = social_democrat
				is_in_coalition_with_social_liberal = yes
			}
			modifier = {
				factor = 25
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
				has_completed_focus = RUS_republicanisation_of_army
			}
			modifier = {
				factor = 5
				has_government = social_liberal
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 0
				RUS_pavel_gronsky = { is_second_in_command = yes }
			}
			modifier = {
				factor = 50
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_titov_SR_demands
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_russian_capitalism"
			RSA_rebuilding = yes
			if = {
				limit = { has_idea = RUS_post-savinkov_economy }
				swap_ideas = {
					remove_idea = RUS_post-savinkov_economy
					add_idea = RUS_new_russian_capitalism_idea
				}
			}
			else = { add_ideas = RUS_new_russian_capitalism_idea }
			custom_effect_tooltip = tooltip_white_line
			subtract_from_variable = { RUS_influence_cost_low = 20 }
			subtract_from_variable = { RUS_influence_cost_normal = 20 }
			subtract_from_variable = { RUS_influence_cost_increased = 20 }
			add_to_variable = { RUS_ic_cost_low = 5 }
			add_to_variable = { RUS_ic_cost_med = 10 }
			custom_effect_tooltip = RUS_new_russian_capitalism_tt
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_nikolay_kondratyev_advisor
			if = {
				limit = { has_active_mission = RUS_titov_SR_demands }
				add_days_mission_timeout = {
					mission = RUS_titov_SR_demands
					days = 90
				}
			}
			if = {
				limit = { RUS_has_black_monday = yes }
				RUS_decrease_black_monday = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_PRODUCTION }
	}
	focus = {
		id = RUS_trade
		icon = GFX_goal_generic_shipyard
		cost = 6

		relative_position_id = RUS_new_russian_capitalism
		x = 1
		y = 1
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				RUS_wrangel_path = yes
				has_socialist_government = yes
			}
		}

		prerequisite = {
			focus = RUS_new_russian_capitalism
		}

		ai_will_do = {
			factor = 50
			modifier = {
				add = 2
				RUS_has_german_economic_influence = yes
			}
			modifier = {
				factor = 4
				has_active_mission = RUS_demands_from_unions_monarchy
				NOT = { has_government = social_liberal }
			}
			modifier = {
				factor = 0
				has_government = social_liberal
				OR = {
					has_active_mission = RUS_demands_from_unions_monarchy
					has_active_mission = RUS_SVR_activity
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_trade"
			if = {
				limit = { is_in_coalition_with_market_liberal = yes }
				custom_effect_tooltip = RUS_marlib_boost_tt
				add_one_random_civilian_factory = yes
				add_one_random_civilian_factory = yes
				add_one_random_civilian_factory = yes
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = { has_variable = RUS.RUS_german_economic_influence }
				set_temp_variable = { RUS_influence_change = -1 }
				RUS_change_german_economic_influence = yes
				custom_effect_tooltip = tooltip_white_line
			}
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_add_dynmod
					DYNMOD = RUS_state_export
				}
				add_dynamic_modifier = { modifier = RUS_state_export }
			}
			set_variable = { RUS_state_export_pp = 0.01 tooltip = political_power_gain_tooltip }
			set_variable = { RUS_state_export_cg = -0.05 tooltip = consumer_goods_factor_tooltip }
			if = {
				limit = { NOT = { has_idea = free_trade } }
				add_ideas = free_trade
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_trade_tt
			activate_targeted_decision = { target = ROOT decision = RUS_court_foreign_capital }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_promote_grassroots_business
		icon = GFX_focus_DEN_limited_regulations
		cost = 6

		relative_position_id = RUS_soclibs
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_win_back_peasants
		}
		prerequisite = {
			focus = RUS_new_russian_capitalism
		}

		ai_will_do = {
			factor = 50
			modifier = {
				add = 5
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				add = 2
				RUS_has_black_monday = yes
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_PSR_conference
			}
			modifier = {
				factor = 50
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
				has_completed_focus = RUS_labour_democracy
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_promote_grassroots_business"
			add_political_power = 75
			swap_ideas = {
				remove_idea = RUS_new_russian_capitalism_idea
				add_idea = RUS_new_russian_capitalism_idea_2
			}
			if = {
				limit = { RUS_rikhter = yes }
				custom_effect_tooltip = RUS_boosted_by_rikhter_tt
				every_owned_state = {
					limit = {
						has_state_category = one
						is_controlled_by = ROOT
					}
					random_select_amount = 6
					increase_state_category_by_one_level = yes
				}
			}
			else = {
				every_owned_state = {
					limit = {
						has_state_category = one
						is_controlled_by = ROOT
					}
					random_select_amount = 4
					increase_state_category_by_one_level = yes
				}
			}
			if = {
				limit = { RUS_has_black_monday = yes }
				RUS_decrease_black_monday = yes
			}
			RSA_rebuilding = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_narodovolets
		icon = GFX_goal_RUS_narodovolets
		allow_branch = {
			is_monarchy = no
			RUS_fondaminsky = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		cost = 6
		relative_position_id = RUS_promote_grassroots_business
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_promote_grassroots_business
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				add = 2
				has_political_power < 20
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_narodovolets"
			if = {
				limit = { has_completed_focus = RUS_values_of_february }
				add_ideas = RUS_narodovolets_idea_2
			}
			else = {
				add_ideas = RUS_narodovolets_idea
			}
			if = {
				limit = { RUS_rikhter = yes }
				custom_effect_tooltip = RUS_boosted_by_rikhter_tt
				add_political_power = 90
				country_event = { id = russia_democratic_events.42 days = 5 } #The Republican Guard
				set_temp_variable = { RUS_anger_change = 1 }
				RUS_change_military_anger = yes
				if = {
					limit = { has_active_mission = RUS_bold_promises }
					add_days_mission_timeout = {
						mission = RUS_bold_promises
						days = 90
					}
				}
			}
			else = {
				add_political_power = 50
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_ecumenic_council
		icon = GFX_goal_UKR_minority_rights
		allow_branch = {
			OR = {
				is_monarchy = yes
				RUS_fondaminsky = yes
			}
			RUS_wrangel_path = no
		}
		cost = 5
		relative_position_id = RUS_promote_grassroots_business
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_promote_grassroots_business
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 2
				check_variable = { RUS_right_anger > 4 }
			}
			modifier = {
				factor = 0
				has_government = social_liberal
				OR = {
					has_active_mission = RUS_demands_from_unions_monarchy
					has_active_mission = RUS_SVR_activity
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ecumenic_council"
			add_political_power = 80
			activate_targeted_decision = { decision = RUS_court_jadidists target = TUR }
			activate_targeted_decision = { decision = RUS_court_bundists target = ROOT }
			if = {
				limit = { has_government = social_liberal }
				activate_targeted_decision = { decision = RUS_ecumenic_reform target = PAP }
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_patriarch_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_labour_democracy
		icon = GFX_goal_syndicalist_workers
		cost = 6

		relative_position_id = RUS_soclibs
		x = -2
		y = 2

		prerequisite = {
			focus = RUS_win_back_peasants
			focus = RUS_democratic_education
		}
		available = {
			has_government = social_liberal
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 2
				has_political_power < 20
			}
			modifier = {
				add = 2
				check_variable = { RUS_right_anger < 3 }
			}
			modifier = {
				add = 2
				check_variable = { RUS_left_anger > 3 }
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_PSR_conference
			}
			modifier = {
				factor = 50
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
				has_completed_focus = RUS_win_back_peasants
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_labour_democracy"
			country_event = { id = russia_democratic_events.45 days = 5 } #Peasant Unions of Right-SRs
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { RUS_rikhter = yes }
				custom_effect_tooltip = RUS_boosted_by_rikhter_tt
				add_political_power = 100
				set_temp_variable = { RUS_anger_change = 1 }
				RUS_change_right_anger = yes
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
			else = {
				add_political_power = 60
			}
			if = {
				limit = { is_in_coalition_with_social_democrat = no }
				add_popularity = { ideology = social_democrat popularity = -0.05 }
			}
			if = {
				limit = { is_in_coalition_with_radical_socialist = no }
				add_popularity = { ideology = radical_socialist popularity = -0.05 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_all-russian_equality
		icon = GFX_focus_russian_cooperation
		cost = 6

		relative_position_id = RUS_labour_democracy
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_labour_democracy
		}
		prerequisite = {
			focus = RUS_promote_grassroots_business
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 5
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 100
				has_active_mission = RUS_PSR_conference
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_all-russian_equality"
			if = {
				limit = { RUS_fondaminsky = yes }
				custom_effect_tooltip = RUS_boosted_by_fondaminsky_tt
				add_stability = 0.1
			}
			else = {
				add_stability = 0.05
			}
			custom_effect_tooltip = RUS_easier_compliance_tt
			RUS_unlock_federal_decisions = yes
			RUS_unlock_autonomies = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_sorokin_reforms
		icon = GFX_goal_RUS_sorokin_reforms
		cost = 6

		relative_position_id = RUS_legal_reform
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_democratic_education
		}
		prerequisite = {
			focus = RUS_legal_reform
		}
		available = {
			has_soclib_or_socdem_government = yes
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				RUS_sulimov = yes
			}
			modifier = {
				factor = 3
				has_government = social_democrat
				is_in_coalition_with_social_liberal = yes
			}
			modifier = {
				factor = 20
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_titov_SR_demands
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_sorokin_reforms"
			if = {
				limit = { RUS_sorokin = yes }
				custom_effect_tooltip = RUS_boosted_by_sorokin_tt
				add_political_power = 100
			}
			set_variable = { RUS_sorokin_var = 0 }
			activate_targeted_decision = { decision = RUS_rural_schools_program target = ROOT }
			activate_targeted_decision = { decision = RUS_minority_representation target = ROOT }
			activate_targeted_decision = { decision = RUS_secular_campaign target = ROOT }
			activate_targeted_decision = { decision = RUS_sociological_institute target = ROOT }
			activate_targeted_decision = { decision = RUS_finish_sorokin_reforms target = ROOT }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			if = {
				limit = { RUS_pitirim_sorokin = { is_country_leader = no } }
				show_ideas_tooltip = RUS_pitirim_sorokin_advisor
			}
			show_ideas_tooltip = RUS_konstantin_takhtarev_advisor
			if = {
				limit = { has_active_mission = RUS_titov_SR_demands }
				add_days_mission_timeout = {
					mission = RUS_titov_SR_demands
					days = 90
				}
			}
			if = {
				limit = { has_active_mission = RUS_bold_promises }
				add_days_mission_timeout = {
					mission = RUS_bold_promises
					days = 90
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_values_of_february
		icon = GFX_goal_RUS_values_of_february
		cost = 6
		dynamic = yes
		relative_position_id = RUS_sorokin_reforms
		x = 1
		y = 1
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				has_socialist_government = yes
				RUS_wrangel_path = yes
			}
		}
		prerequisite = {
			focus = RUS_sorokin_reforms
		}
		prerequisite = {
			focus = RUS_all-russian_equality
		}
		available = {
			if = {
				limit = { is_monarchy = no }
				RUS_rikhter = yes
				custom_override_tooltip = {
					tooltip = { localization_key = has_completed_decision DECISION = RUS_ban_monarchist_parties_rikhter }
					has_country_flag = RUS_monarchism_banned
				}
				has_country_flag = RUS_abolished_cossack_hosts
			}
			else = {
				RUS_ilya_fondaminsky = { is_second_in_command = yes }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}
		mutually_exclusive = {
			focus = RUS_coalition_of_idealists
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 5
				has_government = social_liberal
				has_active_mission = RUS_bold_promises
			}
			modifier = {
				factor = 3
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_values_of_february"
			if = {
				limit = { is_monarchy = no }
				country_event = { id = russia_democratic_events.46 days = 5 } #The Moderate Revolution
				effect_tooltip = {
					swap_ideas = {
						remove_idea = RUS_narodovolets_idea
						add_idea = RUS_narodovolets_idea_2
					}
				}
				hidden_effect = {
					if = {
						limit = { has_idea = RUS_narodovolets_idea }
						swap_ideas = {
							remove_idea = RUS_narodovolets_idea
							add_idea = RUS_narodovolets_idea_2
						}
					}
				}
				add_ideas = RUS_peasant_republic
			}
			else = {
				custom_effect_tooltip = tooltip_white_line
				add_ideas = RUS_february_empire
				effect_tooltip = { add_country_leader_trait = RUS_figurehead_monarch }
				hidden_effect = {
					set_temp_variable = { trait_token = token:RUS_figurehead_monarch }
					RUS_kirill_romanov = { add_trait_to_all_country_leader_roles = yes }
					RUS_vladimir_romanov = { add_trait_to_all_country_leader_roles = yes }
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_values_of_february_tt
			set_temp_variable = { RUS_PP_increase = party_popularity_100@social_liberal }
			multiply_temp_variable = { RUS_PP_increase = 3 }
			add_political_power = RUS_PP_increase
			clr_country_flag = RUS_monarchism_banned
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_goseko
		icon = GFX_goal_state_economy
		cost = 6

		relative_position_id = RUS_marlibs
		x = -3
		y = 1
		available = {
			if = {
				limit = { has_government = social_democrat }
				is_in_coalition_with_social_liberal = no
			}
		}
		prerequisite = {
			focus = RUS_socdems
			focus = RUS_marlibs
			focus = RUS_soccons
			focus = RUS_authdems
		}
		mutually_exclusive = {
			focus = RUS_new_russian_capitalism
		}

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0
				RUS_sulimov = yes
			}
			modifier = {
				factor = 3
				has_government = social_democrat
				is_in_coalition_with_market_liberal = yes
			}
			modifier = {
				factor = 5
				has_active_mission = RUS_demands_from_unions_monarchy
				RUS_nikolay_nekrasov = { is_second_in_command = no }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_goseko"
			RSA_rebuilding = yes
			if = {
				limit = { has_idea = RUS_council_of_industrialists }
				swap_ideas = {
					remove_idea = RUS_council_of_industrialists
					add_idea = RUS_council_of_industrialists_2
				}
			}
			else_if = {
				limit = { has_idea = RUS_post-savinkov_economy }
				swap_ideas = {
					remove_idea = RUS_post-savinkov_economy
					add_idea = RUS_state_economic_committee
				}
			}
			else = { add_ideas = RUS_state_economic_committee }
			if = {
				limit = { NOT = { has_country_flag = RUS_completed_goseko_before } }
				subtract_from_variable = { RUS_influence_cost_low = 25 }
				subtract_from_variable = { RUS_influence_cost_normal = 25 }
				subtract_from_variable = { RUS_influence_cost_increased = 25 }
				divide_variable = { RUS_ic_time_60 = 2 }
				divide_variable = { RUS_ic_time_120 = 2 }
				custom_effect_tooltip = RUS_GEK_tt
				set_country_flag = RUS_completed_goseko_before
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_pavel_buryshkin_advisor
			if = {
				limit = { has_active_mission = RUS_titov_kadet_demands }
				add_days_mission_timeout = {
					mission = RUS_titov_kadet_demands
					days = 90
				}
			}
			if = {
				limit = { RUS_has_black_monday = yes }
				RUS_decrease_black_monday = yes
			}
			activate_targeted_decision = { target = ROOT decision = RUS_court_foreign_capital }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_restrict_foreign_business
		icon = GFX_goal_RUS_exploit_german
		cost = 7
		allow_branch = {
			country_exists = GER
			NOT = { has_country_flag = RUS_lost_wk2 }
			has_socialist_government = no
		}
		relative_position_id = RUS_goseko
		x = 0
		y = 2
		prerequisite = {
			focus = RUS_goseko
			focus = RUS_trade
		}

		ai_will_do = {
			base = 5
			modifier = {
				add = 2
				OR = {
					RUS_has_german_economic_influence = yes
					has_political_power < -20
				}
			}
			modifier = {
				add = 5
				has_government = social_conservative
				has_active_mission = RUS_VPP_tension
			}
			modifier = {
				add = 5
				check_variable = { RUS_left_anger > RUS_right_anger }
			}
			modifier = {
				factor = 4
				has_active_mission = RUS_demands_from_unions_monarchy
				RUS_nikolay_nekrasov = { is_second_in_command = no }
			}
			modifier = {
				factor = 0.3
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai #free trade is good, and the benefits outweigh the drawbacks here mostly
			}
			modifier = {
				factor = 0
				NOT = {
					has_active_mission = RUS_demands_from_unions_monarchy
					RUS_nikolay_nekrasov = { is_second_in_command = no }
				}
				OR = {
					has_idea = RUS_german_economic_influence_3
					has_idea = RUS_german_economic_influence_2
					has_idea = RUS_german_economic_influence_1
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_restrict_foreign_business"
			if = {
				limit = { RUS_solonevich = yes }
				custom_effect_tooltip = RUS_solonevich_reelection_tt
			}
			add_political_power = 50
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_variable = RUS.RUS_german_economic_influence }
				custom_effect_tooltip = RUS_restrict_foreign_business_tt
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { check_variable = { RUS_power_projection < 10 } }
					set_temp_variable = { RUS_influence_change = -1 }
				}
				else_if = {
					limit = {
						check_variable = { RUS_power_projection > 9 }
						check_variable = { RUS_power_projection < 20 }
					}
					set_temp_variable = { RUS_influence_change = -2 }
				}
				else_if = {
					limit = {
						check_variable = { RUS_power_projection > 19 }
					}
					set_temp_variable = { RUS_influence_change = -3 }
				}
				RUS_change_german_economic_influence = yes
				RUS_fire_economy_event = yes
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = free_trade }
				swap_ideas = {
					remove_idea = free_trade
					add_idea = export_focus
				}
			}
			else_if = {
				limit = { has_idea = export_focus }
				swap_ideas = {
					remove_idea = export_focus
					add_idea = limited_exports
				}
			}
			if = {
				limit = { check_variable = { RUS_right_anger > RUS_left_anger } }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_right_anger = yes
			}
			else = {
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
			if = {
				limit = { has_active_mission = RUS_VPP_tension }
				add_days_mission_timeout = {
					mission = RUS_VPP_tension
					days = 75
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_pay_back_germany
		icon = GFX_goal_GER_Mitteleuropa_Cash
		cost = 3
		allow_branch = { has_country_flag = RUS_lost_wk2 }
		relative_position_id = RUS_goseko
		x = -1
		y = 1
		available = {
			has_idea = RSA_german_debt
			NOT = { has_war_with = GER }
		}
		prerequisite = {
			focus = RUS_goseko
			focus = RUS_new_russian_capitalism
		}

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pay_back_germany"
			remove_ideas = RSA_german_debt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_VSTPF
		icon = GFX_focus_generic_industrialists
		cost = 6
		allow_branch = {
			NOT = {
				has_government = social_democrat
				has_country_flag = RUS_maklakov_labour_negotiations
				RUS_solonevich = yes
				RUS_ivan_solonevich = { is_second_in_command = yes }
				has_socialist_government = yes
			}
		}
		relative_position_id = RUS_goseko
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_goseko
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 3
				OR = {
					has_country_flag = RUS_dolgorukov_ai
					has_country_flag = RUS_kartashyov_ai
				}
				NOT = {
					has_country_leader = { character = RUS_pyotr_dolgorukov }
					has_country_leader = { character = RUS_anton_kartashyov }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_VSTPF"
			add_political_power = 30
			if = {
				limit = { RUS_wrangel_path = yes }
				swap_ideas = {
					remove_idea = RUS_council_of_industrialists_2
					add_idea = RUS_council_of_industrialists_3
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_state_economic_committee
					add_idea = RUS_state_economic_committee_2
				}
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				add_to_variable = { RUS_apathy_var = 1 }
				custom_effect_tooltip = RUS_apathy_increase_tt
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
			if = {
				limit = { has_dlc_aat = yes }
				custom_effect_tooltip = tooltip_white_line
				random_military_industrial_organization = {
					limit = { is_mio_available = yes }
					add_mio_funds = 500
				}
				random_military_industrial_organization = {
					limit = { is_mio_available = yes }
					add_mio_funds = 500
				}
			}
			if = {
				limit = {
					RUS_pavel_gronsky = { is_second_in_command = yes }
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_boosted_by_gronsky_tt
				add_one_random_civilian_factory = yes
				add_one_random_civilian_factory = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_banking_act
		icon = GFX_focus_ARG_anti_corruption_policies #GFX_goal_generic_recovery
		cost = 6
		allow_branch = {
			OR = {
				RUS_solonevich = yes
				RUS_ivan_solonevich = { is_second_in_command = yes }
			}
		}
		relative_position_id = RUS_goseko
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_goseko
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				has_active_mission = RUS_VPP_tension
			}
			modifier = {
				add = 5
				check_variable = { RUS_left_anger > RUS_right_anger }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_banking_act"
			if = {
				limit = { RUS_solonevich = yes }
				custom_effect_tooltip = RUS_solonevich_reelection_tt
			}
			add_political_power = 50
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
			set_temp_variable = { RUS_anger_change = -2 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_tripartite_labour_negotiation
		icon = GFX_goal_generic_union_agreement
		cost = 6
		allow_branch = {
			OR = {
				has_government = social_democrat
				has_country_flag = RUS_maklakov_labour_negotiations
			}
			RUS_is_demrus = yes
		}
		relative_position_id = RUS_goseko
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_goseko
		}
		available = {
			OR = {
				is_in_coalition_with_market_liberal = yes
				is_in_coalition_with_social_democrat = yes
			}
			NOT = { has_active_mission = RUS_titov_kadet_demands }
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_tripartite_labour_negotiation"
			if = {
				limit = { has_government = social_democrat }
				add_political_power = 75
			}
			swap_ideas = {
				remove_idea = RUS_state_economic_committee
				add_idea = RUS_state_economic_committee_5
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				custom_effect_tooltip = RUS_apathy_decrease_tt
				add_to_variable = { RUS_apathy_var = -1 }
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_republican_constitutional_clubs
		icon = GFX_goal_Fight_for_Freedom
		cost = 6
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
		}
		relative_position_id = RUS_marlibs
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_marlibs
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_country_leader = { character = RUS_pyotr_dolgorukov }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_republican_constitutional_clubs"
			add_ideas = RUS_republican_constitutional_clubs_idea
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_nikolay_nekrasov_advisor
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_imperial_advisory_council
		icon = GFX_goal_generic_puppet_monarch
		cost = 6
		allow_branch = { is_monarchy = yes }
		relative_position_id = RUS_marlibs
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_marlibs
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_active_mission = RUS_SVR_activity
				has_country_flag = RUS_vpp_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_imperial_advisory_council"
			add_country_leader_trait = RUS_imperial_advisory_council_trait
			RUS_increase_imperial_popularity = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_future_direction_of_liberalism
		icon = GFX_PAP_roman_senate
		cost = 4

		relative_position_id = RUS_marlibs
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_marlibs
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 5
				date > 1938.5.1
			}
			modifier = {
				factor = 5
				has_country_flag = RUS_maklakov_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_future_direction_of_liberalism"
			if = {
				limit = { RUS_maklakov = yes }
				country_event = russia_democratic_events.62 #Critique from the Party
				add_popularity = { ideology = market_liberal popularity = 0.075 }
			}
			else = {
				add_popularity = { ideology = market_liberal popularity = 0.1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_balance_of_powers
		icon = GFX_goal_generic_stable_government
		cost = 6

		relative_position_id = RUS_marlibs
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_future_direction_of_liberalism
		}

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 5
				has_active_mission = RUS_political_apathy
			}
			modifier = {
				factor = 2
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 5
				date > 1938.5.1
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_demands_from_unions_monarchy
				has_completed_focus = RUS_crimes_of_the_past
				national_populist > 0.05
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_balance_of_powers"
			country_event = { id = russia_democratic_events.64 days = 1 } #Law on Russian Freedoms
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_balance_of_powers"
			if = {
				limit = { has_stability < 0.5 }
				add_stability = 0.1
			}
			else_if = {
				limit = { has_stability < 0.25 }
				add_stability = 0.15
			}
			else = {
				add_stability = 0.05
			}
			if = {
				limit = { national_populist > 0.02 }
				add_popularity = { ideology = national_populist popularity = -0.05 }
			}
			if = {
				limit = { authoritarian_democrat > 0.02 }
				add_popularity = { ideology = authoritarian_democrat popularity = -0.05 }
			}
			if = {
				limit = { syndicalist > 0.02 }
				add_popularity = { ideology = syndicalist popularity = -0.05 }
			}
			if = {
				limit = { totalist > 0.02 }
				add_popularity = { ideology = totalist popularity = -0.05 }
			}
			if = {
				limit = { radical_socialist > 0.02 }
				add_popularity = { ideology = radical_socialist popularity = -0.05 }
			}
			hidden_effect = {
				country_event = { id = russia_democratic_events.63 days = 37 } #Solving Strikes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_military_funding
		icon = GFX_goal_generic_construct_mil_factory
		cost = 6

		available = {
			OR = {
				has_completed_focus = RUS_ally_army
				has_completed_focus = RUS_republicanisation_of_army
				has_completed_focus = RUS_distribute_honours
			}
		}

		relative_position_id = RUS_marlibs
		x = 1
		y = 3

		prerequisite = {
			focus = RUS_balance_of_powers
		}

		ai_will_do = {
			factor = 25
			modifier = {
				add = 5
				check_variable = { RUS_apathy_var < 3 }
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_kartashyov_ai
				RUS_vasily_maklakov = { is_country_leader = yes }
			}
			modifier = {
				factor = 5
				RUS_anton_kartashyov = { is_country_leader = yes }
			}
			modifier = {
				factor = 10
				date > 1938.5.1
			}
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_kartashyov_ai
					has_country_flag = RUS_dolgorukov_ai
				}
				NOT = {
					OR = {
						has_completed_focus = RUS_ally_army
						has_completed_focus = RUS_republicanisation_of_army
					}
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_military_funding"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_military_anger = yes
			if = {
				limit = {
					has_idea = RUS_republic_under_watch
					NOT = { has_completed_focus = RUS_republicanisation_of_army }
				}
				swap_ideas = {
					remove_idea = RUS_republic_under_watch
					add_idea = RUS_guarantor_of_stability
				}
			}
			else_if = {
				limit = {
					has_idea = RUS_republic_under_watch
					has_completed_focus = RUS_republicanisation_of_army
				}
				swap_ideas = {
					remove_idea = RUS_republic_under_watch
					add_idea = RUS_republic_under_watch_3
				}
			}
			else_if = {
				limit = { has_idea = RUS_guarantor_of_stability }
				swap_ideas = {
					remove_idea = RUS_guarantor_of_stability
					add_idea = RUS_guarantor_of_stability_2
				}
			}
			else = {
				add_ideas = RUS_guarantor_of_stability
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_pavel_gronsky = { is_second_in_command = no }
				}
				add_timed_idea = {
					idea = RUS_extra_military_budget
					days = 365
				}
			}
			else_if = {
				limit = {
					RUS_pavel_gronsky = { is_second_in_command = yes }
				}
				custom_effect_tooltip = RUS_boosted_by_gronsky_tt
				add_timed_idea = {
					idea = RUS_extra_military_budget
					days = 465
				}
			}
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				add_to_variable = { RUS_apathy_var = 1 }
				custom_effect_tooltip = RUS_apathy_increase_tt
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_PRODUCTION FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_unite_kadets
		icon = GFX_goal_orthodox_state
		cost = 6
		allow_branch = {
			OR = {
				RUS_pavel_gronsky = { is_second_in_command = yes }
				RUS_anton_kartashyov = { is_second_in_command = yes }
			}
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		relative_position_id = RUS_marlibs
		x = -1
		y = 3

		prerequisite = {
			focus = RUS_balance_of_powers
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 3
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_unite_kadets"
			country_event = russia_democratic_events.66
			add_stability = 0.075
			add_popularity = { ideology = social_conservative popularity = 0.1 }
			add_political_power = party_popularity_100@social_conservative
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				set_party_name = {
					ideology = social_conservative
					name = RUS_market_liberal_party
					long_name = RUS_market_liberal_party_long_tt
				}
			}
			if = {
				limit = { is_in_coalition_with_social_conservative = no }
				set_temp_variable = { coalition_partner_var = token:social_conservative }
				add_to_coalition = yes
			}
			set_temp_variable = { RUS_anger_change = -3 }
			RUS_change_right_anger = yes
			set_temp_variable = { RUS_anger_change = -2 }
			RUS_change_military_anger = yes
			set_variable = { RUS.coalition_stability = 1 }
			custom_effect_tooltip = RUS_coalition_improvement2_tt
			hidden_effect = {
				set_party_name = {
					ideology = social_conservative
					name = RUS_market_liberal_party
					long_name = RUS_market_liberal_party_long
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_free_fair_russia
		icon = GFX_focus_ARG_defense_and_democracy
		cost = 6
		allow_branch = {
			is_monarchy = no
			RUS_dolgorukov = no
			RUS_kartashyov = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		relative_position_id = RUS_marlibs
		x = -1
		y = 3

		prerequisite = {
			focus = RUS_balance_of_powers
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 5
				has_active_mission = RUS_political_apathy
			}
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_dolgorukov_ai
					has_country_flag = RUS_kartashyov_ai
				}
				RUS_vasily_maklakov = { is_country_leader = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_free_fair_russia"
			add_stability = 0.05
			custom_effect_tooltip = RUS_free_fair_russia_tt
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				custom_effect_tooltip = RUS_apathy_decrease_tt
				add_to_variable = { RUS_apathy_var = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_rural_outreach
		icon = GFX_goal_agrarian_reform
		cost = 6
		allow_branch = {
			OR = {
				has_government = market_liberal
				RUS_wrangel_path = yes
				has_country_flag = RUS_lost_wk2
			}
			RUS_maklakov = no
			RUS_pavel_gronsky = { is_second_in_command = no }
		}
		relative_position_id = RUS_marlibs
		x = -1
		y = 3

		prerequisite = {
			focus = RUS_balance_of_powers
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 4
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rural_outreach"
			add_ideas = RUS_ruralism_2
			every_owned_state = {
				limit = {
					has_state_category = one
					is_controlled_by = ROOT
				}
				random_select_amount = 4
				increase_state_category_by_one_level = yes
			}
			if = {
				limit = { is_in_coalition_with_social_liberal = no }
				add_popularity = { ideology = social_liberal popularity = -0.05 }
			}
			RSA_rebuilding = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_sponsor_universities
		icon = GFX_focus_generic_university_2
		cost = 6

		relative_position_id = RUS_marlibs
		x = 2
		y = 2

		prerequisite = {
			focus = RUS_republican_constitutional_clubs
			focus = RUS_imperial_advisory_council
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 2
				OR = {
					has_stability < 0.3
					market_liberal < 0.2
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_sponsor_universities"
			if = {
				limit = {
					has_idea = RUS_republican_constitutional_clubs_idea
				}
				swap_ideas = {
					remove_idea = RUS_republican_constitutional_clubs_idea
					add_idea = RUS_liberal_intelligentsia
				}
			}
			else = {
				add_ideas = RUS_liberal_intelligentsia
			}
			if = {
				limit = { is_monarchy = yes }
				custom_effect_tooltip = tooltip_white_line
				effect_tooltip = { add_country_leader_trait = RUS_patron_of_sciences }
				hidden_effect = {
					var:country_leader = {
						if = {
							limit = { has_ideology = market_liberal_subtype }
							add_trait = {
								ideology = market_liberal_subtype
								trait = RUS_patron_of_sciences
							}
						}
						if = {
							limit = { has_ideology = social_conservative_subtype }
							add_trait = {
								ideology = social_conservative_subtype
								trait = RUS_patron_of_sciences
							}
						}
					}
				}
			}
			else_if = {
				limit = { is_in_coalition_with_social_liberal = no }
				add_popularity = { ideology = social_liberal popularity = -0.05 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_national_education
		icon = GFX_focus_SOV_patriarch_of_all_russia
		cost = 6

		relative_position_id = RUS_marlibs
		x = 3
		y = 3
		available = {
			NOT = {
				has_country_leader = { character = RUS_vasily_maklakov }
				has_country_leader = { character = RUS_nikolay_nekrasov }
				has_completed_focus = RUS_democratic_education
			}
		}
		offset = {
			x = 2
			trigger = {
				is_monarchy = yes
				RUS_ivan_solonevich = { is_second_in_command = yes }
			}
		}

		prerequisite = {
			focus = RUS_sponsor_universities
			focus = RUS_high_imperial_council
			focus = RUS_honour_romanovs
		}

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 1.5
				has_active_mission = RUS_SVR_activity
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_national_education"
			country_event = { id = russia_democratic_events.33 days = 20 } #Protests against nationalist curriculum
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_education"
			add_ideas = RUS_nationalist_curriculum
			if = {
				limit = { RUS_boldyrev = yes }
				add_research_slot_until_five = yes
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
			if = {
				limit = { RUS_soccon_advisor = yes }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_aleksandr_trushnovich_advisor
			}
			hidden_effect = {
				if = {
					limit = { has_completed_focus = RUS_democratic_education }
					uncomplete_national_focus = {
						focus = RUS_democratic_education
						uncomplete_children = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_protector_of_all_faiths
		icon = GFX_goal_RUS_tolerance
		cost = 6

		relative_position_id = RUS_national_education
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_national_education
			focus = RUS_free_fair_russia
		}
		mutually_exclusive = {
			focus = RUS_state_orthodoxy
		}
		available = {
			custom_override_tooltip = {
				tooltip = RUS_state_religion_law_NOT
				NOT = { has_country_flag = RUS_state_religion_law }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				RUS_solonevich = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_protector_of_all_faiths"
			swap_ideas = {
				remove_idea = RUS_nationalist_curriculum
				add_idea = RUS_nationalist_curriculum_2
			}
			if = {
				limit = { is_monarchy = yes }
				RUS_increase_imperial_popularity = yes
				add_political_power = 25
			}
			else = {
				add_political_power = 50
			}
			every_owned_state = {
				limit = {
					NOT = { is_core_of = RUS }
					OR = {
						is_core_of = TRK
						is_core_of = KAZ
						is_core_of = BUK
						is_core_of = KHI
						is_core_of = AFG
						is_core_of = PER
						is_core_of = AZR
						is_core_of = TUR
						is_core_of = MON
					}
				}
				add_compliance = 15
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_right_anger = yes
			activate_targeted_decision = { decision = RUS_court_jadidists target = TUR }
			activate_targeted_decision = { decision = RUS_ecumenic_reform target = PAP }
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESISTANCE FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_state_orthodoxy
		icon = GFX_focus_GRE_an_orthodox_state
		cost = 6

		relative_position_id = RUS_national_education
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_national_education
		}
		mutually_exclusive = {
			focus = RUS_protector_of_all_faiths
		}
		available = {
			custom_override_tooltip = {
				tooltip = RUS_state_secularism_law_NOT
				NOT = { has_country_flag = RUS_state_secularism_law }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 25
			modifier = {
				add = 5
				has_government = social_conservative
				has_active_mission = RUS_VPP_tension
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_state_orthodoxy"
			country_event = { id = russia_democratic_events.34 days = 20 } #Muslim protests
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_state_orthodoxy"
			if = {
				limit = { RUS_solonevich = yes }
				custom_effect_tooltip = RUS_solonevich_reelection_tt
			}
			swap_ideas = {
				remove_idea = RUS_nationalist_curriculum
				add_idea = RUS_nationalist_curriculum_3
			}
			if = {
				limit = { is_monarchy = yes }
				RUS_increase_imperial_popularity = yes
			}
			else = {
				add_political_power = 40
			}
			custom_effect_tooltip = RUS_constaniople_claim_tt
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_patriarch_advisor
			custom_effect_tooltip = tooltip_white_line
			hidden_effect = {
				add_state_claim = 340 #Bursa
				add_state_claim = 341 #Adrianople
				add_state_claim = 773 #Constantinople
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
			if = {
				limit = { has_active_mission = RUS_political_apathy }
				add_to_variable = { RUS_apathy_var = 1 }
				custom_effect_tooltip = RUS_apathy_increase_tt
			}
			if = {
				limit = { has_active_mission = RUS_VPP_tension }
				add_days_mission_timeout = {
					mission = RUS_VPP_tension
					days = 75
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_RESISTANCE FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_coalition_of_idealists
		icon = GFX_goal_RUS_coalition_of_idealists
		cost = 6

		relative_position_id = RUS_all-russian_equality
		x = 3
		y = 1
		allow_branch = {
			RUS_wrangel_path = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		prerequisite = {
			focus = RUS_sorokin_reforms
			focus = RUS_all-russian_equality
			focus = RUS_free_fair_russia
			focus = RUS_unite_kadets
			focus = RUS_rural_outreach
		}
		mutually_exclusive = {
			focus = RUS_values_of_february
			focus = RUS_entrench_kadets
		}
		available = {
			if = {
				limit = {
					RUS_maklakov = yes
					is_ai = no
				}
				custom_override_tooltip = {
					tooltip = RUS_coalition_of_idealists_apathy_tt
					check_variable = { RUS_apathy_var < 7 }
				}
			}
			else_if = {
				limit = {
					is_ai = no
					RUS_maklakov = no
				}
				has_stability > 0.5
			}
			OR = {
				is_in_coalition_with_social_liberal = yes
				is_in_coalition_with_social_democrat = yes
				is_in_coalition_with_market_liberal = yes
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				check_variable = { RUS_apathy_var > 4 }
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_political_apathy
			}
			modifier = {
				factor = 15
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 5
				has_active_mission = RUS_titov_demands_from_left
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_coalition_of_idealists"
			if = {
				limit = { is_monarchy = yes }
				effect_tooltip = { add_country_leader_trait = RUS_figurehead_monarch }
				hidden_effect = {
					set_temp_variable = { trait_token = token:RUS_figurehead_monarch }
					RUS_kirill_romanov = { add_trait_to_all_country_leader_roles = yes }
					RUS_vladimir_romanov = { add_trait_to_all_country_leader_roles = yes }
				}
			}
			if = {
				limit = {
					NOT = { has_government = social_democrat }
				}
				custom_effect_tooltip = RUS_coalition_of_idealists_tt
				set_temp_variable = { RUS_PP_increase = party_popularity_100@social_liberal }
				add_to_temp_variable = { RUS_PP_increase = party_popularity_100@market_liberal }
				multiply_temp_variable = { RUS_PP_increase = 2 }
				add_political_power = RUS_PP_increase
			}
			else_if = {
				limit = {
					has_government = social_democrat
					is_in_coalition_with_social_liberal = yes
				}
				custom_effect_tooltip = RUS_coalition_of_idealists_tt2
				set_temp_variable = { RUS_PP_increase = party_popularity_100@social_democrat }
				add_to_temp_variable = { RUS_PP_increase = party_popularity_100@social_liberal }
				multiply_temp_variable = { RUS_PP_increase = 2 }
				add_political_power = RUS_PP_increase
			}
			else_if = {
				limit = {
					has_government = social_democrat
					is_in_coalition_with_market_liberal = yes
				}
				custom_effect_tooltip = RUS_coalition_of_idealists_tt3
				set_temp_variable = { RUS_PP_increase = party_popularity_100@social_democrat }
				add_to_temp_variable = { RUS_PP_increase = party_popularity_100@market_liberal }
				multiply_temp_variable = { RUS_PP_increase = 2 }
				add_political_power = RUS_PP_increase
			}
			if = {
				limit = { is_monarchy = yes }
				RUS_increase_imperial_popularity = yes
			}
			RUS_increase_democracy = yes
			if = {
				limit = { has_idea = RUS_liberal_intelligentsia }
				swap_ideas = {
					remove_idea = RUS_liberal_intelligentsia
					add_idea = RUS_liberal_intelligentsia_2
				}
			}
			if = {
				limit = { has_idea = RUS_strict_anti_socialist_laws }
				remove_ideas = RUS_strict_anti_socialist_laws
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_military_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_entrench_kadets
		icon = GFX_goal_RUS_entrench_kadets
		cost = 6

		relative_position_id = RUS_military_funding
		x = -1
		y = 1
		dynamic = yes
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				has_socialist_government = yes
			}
		}
		prerequisite = {
			focus = RUS_military_funding
		}
		prerequisite = {
			focus = RUS_free_fair_russia
			focus = RUS_unite_kadets
			focus = RUS_rural_outreach
		}
		mutually_exclusive = {
			focus = RUS_coalition_of_idealists
		}
		available = {
			if = {
				limit = { is_ai = no }
				market_liberal > 0.4
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 3
				has_country_leader = { character = RUS_pyotr_dolgorukov }
			}
			modifier = {
				factor = 5
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_entrench_kadets"
			if = {
				limit = { is_monarchy = yes }
				effect_tooltip = { add_country_leader_trait = RUS_guiding_hand }
				RUS_increase_imperial_popularity = yes
				hidden_effect = {
					set_temp_variable = { trait_token = token:RUS_guiding_hand }
					RUS_kirill_romanov = { add_trait_to_all_country_leader_roles = yes }
					RUS_vladimir_romanov = { add_trait_to_all_country_leader_roles = yes }
					RUS_pyotr_wrangel = {
						if = {
							limit = { character_is_monarch = yes }
							add_trait_to_all_country_leader_roles = yes
						}
					}
				}
			}
			else = { add_political_power = 100 }
			RUS_add_guided_democracy = yes
			if = {
				limit = { has_idea = RUS_liberal_intelligentsia }
				swap_ideas = {
					remove_idea = RUS_liberal_intelligentsia
					add_idea = RUS_liberal_intelligentsia_3
				}
			}
			add_popularity = { ideology = market_liberal popularity = 0.08 }
			if = {
				limit = { is_monarchy = yes }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_demands_from_unions_monarchy_tt
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_empower_MVD
		icon = GFX_goal_Centralised_Government
		cost = 6

		relative_position_id = RUS_soccons
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_soccons
			focus = RUS_authdems
		}
		available = {
			OR = {
				has_conservative_government = yes
				has_government = paternal_autocrat
			}
		}

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 1.5
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_empower_MVD"
			add_political_power = 75
			if = {
				limit = { is_monarchy = yes }
				unlock_decision_tooltip = RUS_pass_state_protection_decree
			}
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_iron_fisted_ministry
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
			hidden_effect = {
				country_event = { id = russia_democratic_events.76 days = 90 random_days = 90 } #The Funders are Furious
				country_event = { id = russia_flavour_events.48 days = 120 random_days = 90 } #A Dream of Monarchy
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_cut_parliamentary_red_tape
		icon = GFX_goal_generic_dissolve_parliament1
		cost = 6
		allow_branch = {
			RUS_ivan_solonevich = { is_second_in_command = no }
			has_socialist_government = no
		}
		relative_position_id = RUS_empower_MVD
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_empower_MVD
		}
		mutually_exclusive = {
			focus = RUS_act_of_imperial_prerogative
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 5
				has_government = social_conservative
				has_active_mission = RUS_VPP_tension
			}
			modifier = {
				factor = 2
				has_active_mission = RUS_SVR_activity
			}
			modifier = {
				factor = 0
				RUS_vasily_shulgin = { is_second_in_command = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_cut_parliamentary_red_tape"
			set_temp_variable = { ideology_change_var = 5 }
			change_ruling_party_popularity = yes
			custom_effect_tooltip = tooltip_white_line
			swap_ideas = {
				remove_idea = RUS_iron_fisted_ministry
				add_idea = RUS_iron_fisted_ministry_2
			}
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_military_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_streamline_autonomies
		icon = GFX_goal_RUS_streamline_autonomies
		cost = 5

		relative_position_id = RUS_marlibs
		x = 3
		y = 1

		prerequisite = {
			focus = RUS_marlibs
			focus = RUS_soccons
		}
		mutually_exclusive = {
			focus = RUS_towards_unitary_state
		}
		available = {
			if = {
				limit = { is_ai = no }
				has_stability > 0.25
			}
			NOT = {
				has_idea = RUS_deadlocked_duma
			}
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = 10
				has_political_power < 20
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_streamline_autonomies"
			if = {
				limit = { has_country_flag = RUS_weakened_federalism_law }
				custom_effect_tooltip = RUS_buffed_by_constitution_tt
				add_political_power = 100
			}
			else = {
				add_political_power = 75
			}
			divide_variable = { RUS_ic_time_60 = 1.5 }
			divide_variable = { RUS_ic_time_120 = 1.5 }
			custom_effect_tooltip = RUS_streamline_industry_tt
			RUS_unlock_federal_decisions = yes
			custom_effect_tooltip = tooltip_white_line
			every_owned_state = {
				limit = { NOT = { is_core_of = ROOT } }
				add_resistance = -10
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_towards_unitary_state
		icon = GFX_focus_LAT_suspend_constitution_of_latvia
		cost = 7
		relative_position_id = RUS_soccons
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_marlibs
			focus = RUS_soccons
			focus = RUS_authdems
		}
		mutually_exclusive = {
			focus = RUS_streamline_autonomies
		}
		available = {
			has_stability > 0.5
			custom_override_tooltip = {
				tooltip = RUS_ensure_federalism_law_NOT
				NOT = { has_country_flag = RUS_ensure_federalism_law }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
			if = {
				limit = { has_government = market_liberal }
				NOT = {
					has_country_leader = { character = RUS_vasily_maklakov }
					has_country_leader = { character = RUS_nikolay_nekrasov }
				}
			}
		}

		ai_will_do = {
			factor = 15
			modifier = {
				add = -5
				has_stability > 0.7
			}
			modifier = {
				add = 5
				has_stability < 0.5
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_towards_unitary_state"
			custom_effect_tooltip = RUS_towards_unitary_state_tt
			if = {
				limit = { has_country_flag = RUS_weakened_federalism_law }
				custom_effect_tooltip = RUS_buffed_by_constitution_tt
				add_stability = 0.1
			}
			else = {
				add_stability = 0.05
			}
			add_timed_idea = {
				idea = RUS_centralise_federal_system_soccon
				days = 365
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_centralisation_tt
			effect_tooltip = {
				add_political_power = 150
				add_stability = 0.1
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { decision = RUS_cossack_reform target = 238 }
			activate_targeted_decision = { decision = RUS_abolish_OSKAB target = 233 }
			custom_effect_tooltip = tooltip_white_line
			every_owned_state = {
				limit = { NOT = { is_core_of = ROOT } }
				add_resistance = -10
			}
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_democracy = yes
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
			880 = {
				clr_state_flag = dvinsk_state
				remove_dynamic_modifier = { modifier = RUS_dvinsk_modifier }
			}
			every_owned_state = {
				limit = { NOT = { is_core_of = ROOT } }
				add_compliance = -15
			}
			set_country_flag = RUS_unitary_state
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_honour_romanovs
		icon = GFX_goal_RUS_monarchy
		cost = 5
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
		}

		relative_position_id = RUS_towards_unitary_state
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_towards_unitary_state
			focus = RUS_streamline_autonomies
		}
		prerequisite = {
			focus = RUS_empower_MVD
		}
		bypass = {
			has_country_flag = RUS_lost_wk2
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_honour_romanovs"
			if = {
				limit = { has_soclib_or_socdem_government = no }
				set_temp_variable = { ideology_change_var = 8 }
				change_ruling_party_popularity = yes
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_vladimir_romanov_advisor
			show_ideas_tooltip = RUS_dmitry_romanov_advisor
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_emperors_life_guard
		icon = GFX_focus_SOV_restore_cossack_units
		cost = 6
		allow_branch = { is_monarchy = yes }
		available = {
			RUS_nikolay_nekrasov = { is_second_in_command = no }
			RUS_ilya_fondaminsky = { is_second_in_command = no }
		}
		relative_position_id = RUS_towards_unitary_state
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_towards_unitary_state
			focus = RUS_streamline_autonomies
		}

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_emperors_life_guard"
			add_war_support = 0.05
			add_manpower = -6000
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_pyotr_wrangel = {
						is_country_leader = yes
						has_trait = RUS_cossack_guard
					}
				}
				effect_tooltip = {
					swap_ruler_traits = {
						remove = RUS_cossack_guard
						add = RUS_cossack_guard_2
					}
				}
				hidden_effect = {
					RUS_pyotr_wrangel = {
						set_temp_variable = { remove_trait_token = token:RUS_cossack_guard }
						set_temp_variable = { add_trait_token = token:RUS_cossack_guard_2 }
						swap_traits_in_all_country_leader_roles = yes
					}
				}
			}
			else = {
				effect_tooltip = { add_country_leader_trait = RUS_imperial_life_guard }
				hidden_effect = {
					var:country_leader = {
						set_temp_variable = { trait_token = token:RUS_imperial_life_guard }
						add_trait_to_all_country_leader_roles = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_solidify_presidential_power
		icon = GFX_goal_RUS_solidify_power #GFX_goal_civil_service
		cost = 6
		allow_branch = {
			is_monarchy = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		relative_position_id = RUS_towards_unitary_state
		x = -1
		y = 1

		available = {
			custom_override_tooltip = {
				tooltip = RUS_confidence_votes_law_NOT
				NOT = { has_country_flag = RUS_confidence_votes_law }
			}
		}

		prerequisite = {
			focus = RUS_towards_unitary_state
			focus = RUS_streamline_autonomies
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_country_leader = { character = RUS_pyotr_dolgorukov }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_solidify_presidential_power"
			set_temp_variable = { ideology_change_var = 5 }
			change_ruling_party_popularity = yes
			if = {
				limit = { has_country_flag = RUS_decrees_law }
				custom_effect_tooltip = RUS_buffed_by_constitution_tt
				add_political_power = 100
			}
			if = {
				limit = { has_idea = RUS_separation_of_powers }
				swap_ideas = {
					remove_idea = RUS_separation_of_powers
					add_idea = RUS_powerful_executive
				}
			}
			else_if = {
				limit = { has_idea = RUS_powerful_executive }
				swap_ideas = {
					remove_idea = RUS_powerful_executive
					add_idea = RUS_powerful_executive_2
				}
			}
			else = {
				custom_effect_tooltip = RUS_solidify_presidential_power_tt
			}
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_high_imperial_council
		icon = GFX_focus_POL_complete_april_constitution
		cost = 6
		allow_branch = { is_monarchy = yes }
		relative_position_id = RUS_towards_unitary_state
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_empower_MVD
		}

		prerequisite = {
			focus = RUS_towards_unitary_state
			focus = RUS_streamline_autonomies
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 1.5
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_high_imperial_council"
			if = {
				limit = { RUS_ivan_solonevich = { is_second_in_command = yes } }
				add_stability = 0.075
				custom_effect_tooltip = tooltip_white_line
			}
			country_event = russia_monarchist_events.25
			effect_tooltip = { add_country_leader_trait = RUS_high_imperial_council_trait }
			hidden_effect = {
				var:country_leader = {
					set_temp_variable = { trait_token = token:RUS_high_imperial_council_trait }
					add_trait_to_all_country_leader_roles = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_law_and_order
		icon = GFX_focus_generic_court
		cost = 6

		relative_position_id = RUS_honour_romanovs
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_cut_parliamentary_red_tape
		}
		prerequisite = {
			focus = RUS_honour_romanovs
			focus = RUS_high_imperial_council
		}
		available = {
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 25
			modifier = {
				add = 5
				has_government = social_conservative
				has_active_mission = RUS_VPP_tension
			}
			modifier = {
				factor = 2
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_law_and_order"
			add_stability = 0.05
			swap_ideas = {
				remove_idea = RUS_iron_fisted_ministry_2
				add_idea = RUS_iron_fisted_ministry_3
			}
			if = {
				limit = { has_idea = RUS_republic_under_watch }
				remove_ideas = RUS_republic_under_watch
			}
			RUS_increase_democracy = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_stabs_captain_movement
		icon = GFX_goal_RUS_stabs_captain_movement
		cost = 5
		allow_branch = {
			RUS_golitsyn = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		relative_position_id = RUS_honour_romanovs
		x = -1
		y = 1

		offset = {
			x = 2
			trigger = {
				is_monarchy = yes
				RUS_ivan_solonevich = { is_second_in_command = yes }
			}
		}
		prerequisite = {
			focus = RUS_honour_romanovs
			focus = RUS_high_imperial_council
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_stabs_captain_movement"
			if = {
				limit = { RUS_ivan_solonevich = { is_second_in_command = yes } }
				RUS_ivan_solonevich = {
					custom_override_tooltip = {
						tooltip = {
							localization_key = tooltip_modify_character_trait
							ROLE = second_in_command TRAIT = KR_stabs_captain_sic
						}
						remove_trait = {
							character = RUS_ivan_solonevich
							slot = second_in_command
							trait = KR_stabs_captain_sic
						}
						add_trait = {
							character = RUS_ivan_solonevich
							slot = second_in_command
							trait = KR_stabs_captain_2_sic
						}
					}
					effect_tooltip = {
						set_temp_variable = { modifier_change_tt = 0.05 tooltip = stability_factor_tooltip }
						set_temp_variable = { modifier_change_tt = 0.003 tooltip = weekly_casualties_war_support_tooltip }
					}
				}
			}
			if = {
				limit = {
					OR = {
						RUS_ivan_solonevich = { is_second_in_command = yes }
						RUS_solonevich = yes
					}
					has_idea = RUS_arise_muscovites
				}
				swap_ideas = {
					remove_idea = RUS_arise_muscovites
					add_idea = RUS_arise_muscovites_2
				}
			}
			else_if = {
				limit = {
					OR = {
						RUS_ivan_solonevich = { is_second_in_command = yes }
						RUS_solonevich = yes
					}
				}
				add_ideas = RUS_stabs_captain_idea
			}
			else = {
				add_political_power = 50
				if = {
					limit = { RUS_ivan_solonevich = { has_advisor_role = political_advisor } }
					custom_effect_tooltip = tooltip_white_line
					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = RUS_ivan_solonevich_advisor
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_subsidise_agrobusiness
		icon = GFX_goal_agricultural_aid
		cost = 6
		allow_branch = {
			OR = {
				RUS_golitsyn = yes
				RUS_boldyrev = yes
			}
		}
		relative_position_id = RUS_honour_romanovs
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_honour_romanovs
			focus = RUS_high_imperial_council
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_subsidise_agrobusiness"
			add_ideas = RUS_ruralism_3
			every_owned_state = {
				limit = {
					has_state_category = one
					is_controlled_by = ROOT
				}
				random_select_amount = 4
				increase_state_category_by_one_level = yes
			}
			RSA_rebuilding = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_symphony_of_authorities
		icon = GFX_goal_RUS_symphony_of_authorities
		cost = 6

		relative_position_id = RUS_law_and_order
		x = -1
		y = 1
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				has_socialist_government = yes
				RUS_ivan_solonevich = { is_second_in_command = yes }
			}
		}

		prerequisite = {
			focus = RUS_law_and_order
		}
		prerequisite = {
			focus = RUS_national_education
		}
		available = {
			NOT = { has_idea = RUS_deadlocked_duma }
		}

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_SVR_activity
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_symphony_of_authorities"
			if = {
				limit = { RUS_solonevich = yes }
				custom_effect_tooltip = RUS_solonevich_reelection_tt
			}
			if = {
				limit = { is_monarchy = yes }
				effect_tooltip = { add_country_leader_trait = RUS_guiding_hand }
				RUS_increase_imperial_popularity = yes
				hidden_effect = {
					set_temp_variable = { trait_token = token:RUS_guiding_hand }
					RUS_kirill_romanov = { add_trait_to_all_country_leader_roles = yes }
					RUS_vladimir_romanov = { add_trait_to_all_country_leader_roles = yes }
					RUS_pyotr_wrangel = {
						if = {
							limit = { character_is_monarch = yes }
							add_trait_to_all_country_leader_roles = yes
						}
					}
				}
			}
			else = {
				add_stability = 0.05
			}
			if = {
				limit = { has_idea = RUS_guided_democracy }
				add_political_power = 100
			}
			else = {
				RUS_add_guided_democracy = yes
			}
			if = {
				limit = { has_idea = RUS_council_of_industrialists_3 }
				swap_ideas = {
					remove_idea = RUS_council_of_industrialists_3
					add_idea = RUS_council_of_industrialists_4
				}
			}
			else_if = {
				limit = { has_idea = RUS_state_economic_committee_2 }
				swap_ideas = {
					remove_idea = RUS_state_economic_committee_2
					add_idea = RUS_state_economic_committee_3
				}
			}
			set_temp_variable = { RUS_anger_change = 2 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_invite_SOR
		icon = GFX_goal_RUS_autdems
		cost = 6
		allow_branch = {
			RUS_ivan_solonevich = { is_second_in_command = no }
			RUS_wrangel_path = no
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
			NOT = {
				has_country_leader = { character = RUS_sergey_markov }
			}
		}

		relative_position_id = RUS_cut_parliamentary_red_tape
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_cut_parliamentary_red_tape
		}
		available = {
			is_in_coalition_with_authoritarian_democrat = yes
		}

		ai_will_do = { factor = 25 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_invite_SOR"
			country_event = russia_democratic_events.72
			add_political_power = 75
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_left_anger = yes
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_right_anger = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_vasily_shulgin_advisor
			show_ideas_tooltip = RUS_ivan_ilyin_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_eurasian_idea
		icon = GFX_goal_RUS_yevraziystvo
		cost = 6
		allow_branch = {
			is_monarchy = yes
			RUS_georgy_vernadsky = { is_second_in_command = yes }
		}
		available = {
			controls_state = 408 #Vladivostok
			has_completed_focus = RUS_sino_russian_relations
			has_completed_focus = RUS_jewel_of_anticolonialism
			TRK = {
				OR = {
					exists = no
					is_subject = yes
				}
			}
		}
		relative_position_id = RUS_law_and_order
		x = 1
		y = 1
		offset = {
			x = 1
			trigger = { RUS_wrangel_path = yes }
		}
		prerequisite = {
			focus = RUS_law_and_order
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_eurasian_idea"
			add_political_power = 100
			set_temp_variable = { RUS_power_change = 20 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { country_exists = AFG }
				activate_targeted_decision = { target = AFG decision = RUS_invite_alliance }
			}
			if = {
				limit = { country_exists = NEP }
				activate_targeted_decision = { target = NEP decision = RUS_invite_alliance }
			}
			if = {
				limit = { country_exists = SIA }
				activate_targeted_decision = { target = SIA decision = RUS_invite_alliance }
			}
			if = {
				limit = { country_exists = BRM }
				activate_targeted_decision = { target = BRM decision = RUS_invite_alliance }
			}
			RUS_eurasianist_effect = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_white_empire
		icon = GFX_goal_generic_crush_syndicalists
		cost = 6
		allow_branch = {
			RUS_georgy_vernadsky = { is_second_in_command = no }
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
			NOT = {
				has_country_leader = { character = RUS_sergey_markov }
			}
		}
		relative_position_id = RUS_law_and_order
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_law_and_order
			focus = RUS_organic_democracy
		}
		available = {
			country_exists = INT
			if = {
				limit = { RUS_wrangel_path = yes }
				has_completed_focus = RUS_empower_MVD
			}
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				country_exists = GER
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_white_empire"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			if = {
				limit = { RUS_solonevich = yes }
				custom_effect_tooltip = RUS_solonevich_reelection_tt
			}
			if = {
				limit = {
					RUS_wrangel_path = yes
					has_idea = RUS_iron_fisted_ministry
				}
				swap_ideas = {
					remove_idea = RUS_iron_fisted_ministry
					add_idea = RUS_iron_fisted_ministry_4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_iron_fisted_ministry_3
					add_idea = RUS_iron_fisted_ministry_4
				}
			}
			every_country = {
				limit = { has_socialist_government = yes }
				ROOT = { send_embargo = PREV }
			}
			RUS_decrease_democracy = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_pavel_shatilov_advisor
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	#Solonevich path
	focus = {
		id = RUS_NMD
		icon = GFX_goal_RUS_autdems #GFX_focus_generic_diplomatic_treaty
		cost = 6
		allow_branch = {
			RUS_ivan_solonevich = { is_second_in_command = yes }
		}
		available = {
			has_completed_focus = RUS_empower_MVD
			RUS_ivan_solonevich = { is_second_in_command = yes }
			custom_override_tooltip = {
				tooltip = RUS_vladimir_tt
				has_country_leader = { character = RUS_vladimir_romanov }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
		}
		relative_position_id = RUS_soccons
		x = 3
		y = 1

		prerequisite = {
			focus = RUS_soccons
		}

		ai_will_do = { factor = 75 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_NMD"
			add_political_power = 100
			custom_effect_tooltip = RUS_NMD_tt
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { decision = RUS_NMD_rallies target = 219 } #Moscow
			activate_targeted_decision = { decision = RUS_NMD_rallies target = 195 } #Petrograd
			activate_targeted_decision = { decision = RUS_NMD_rallies target = 217 } #Tsaritsyn
			set_variable = { RUS_NMD_pp = party_popularity@social_conservative }
			hidden_effect = {
				set_party_name = {
					ideology = paternal_autocrat
					long_name = RUS_paternal_autocrat2_party_long
					name = RUS_paternal_autocrat2_party
				}
				set_party_name = {
					ideology = authoritarian_democrat
					long_name = RUS_paternal_autocrat2_party_long
					name = RUS_paternal_autocrat2_party
				}
				set_party_name = {
					ideology = social_conservative
					long_name = RUS_paternal_autocrat2_party_long
					name = RUS_paternal_autocrat2_party
				}
				set_temp_variable = { coalition_partner_var = token:authoritarian_democrat }
				add_to_coalition = yes
				set_temp_variable = { coalition_partner_var = token:paternal_autocrat }
				add_to_coalition = yes
				country_event = { id = russia_monarchist_events.30 days = 20 } #Black Baron Meets White Russian
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_plague_of_democraticism
		icon = GFX_goal_RUS_plague_of_democraticism
		cost = 7

		relative_position_id = RUS_NMD
		x = 1
		y = 1

		available = {
			OR = {
				has_idea = RUS_protection_decree
				has_war_with = GER
			}
			RUS_ivan_solonevich = { is_second_in_command = yes }
			NOT = {
				has_idea = RUS_deadlocked_duma
				has_idea = RUS_genuine_democracy
				has_idea = RUS_strong_democracy
			}
		}

		prerequisite = {
			focus = RUS_NMD
		}

		continue_if_invalid = yes

		ai_will_do = { factor = 500 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_plague_of_democraticism"
			country_event = { id = russia_monarchist_events.33 days = 20 } #New Russian Empire Rises
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_plague_of_democraticism"
			custom_effect_tooltip = RUS_plague_of_democraticism_tt
			hidden_effect = {
				end_coalition = yes
				set_politics = {
					ruling_party = authoritarian_democrat
					elections_allowed = yes
				}
				set_temp_variable = { coalition_partner_var = token:social_conservative }
				add_to_coalition = yes
				set_temp_variable = { coalition_partner_var = token:paternal_autocrat }
				add_to_coalition = yes
			}
			RUS_add_guided_democracy = yes
			set_temp_variable = { RUS_pop_increase = party_popularity@social_conservative }
			divide_temp_variable = { RUS_pop_increase = 3 }
			add_popularity = { ideology = authoritarian_democrat popularity = RUS_pop_increase }
			effect_tooltip = { add_country_leader_trait = RUS_guiding_hand }
			hidden_effect = {
				RUS_vladimir_romanov = {
					set_temp_variable = { trait_token = token:RUS_guiding_hand }
					add_trait_to_all_country_leader_roles = yes
				}
			}
			set_temp_variable = { RUS_anger_change = 2 }
			RUS_change_left_anger = yes
			activate_targeted_decision = { decision = RUS_NMD_media_empire target = ROOT }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_evolved_but_untamed
		icon = GFX_goal_UKR_contact_diaspora
		cost = 5

		relative_position_id = RUS_NMD
		x = 2
		y = 2
		available = { has_war = yes }
		prerequisite = {
			focus = RUS_plague_of_democraticism
		}

		ai_will_do = { factor = 300 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_evolved_but_untamed"
			add_war_support = 0.1
			if = {
				limit = { has_idea = RUS_stabs_captain_idea }
				swap_ideas = {
					remove_idea = RUS_stabs_captain_idea
					add_idea = RUS_arise_muscovites_2
				}
			}
			else = {
				add_ideas = RUS_arise_muscovites
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_denounce_elites
		icon = GFX_goal_generic_austerity_measures
		cost = 6

		relative_position_id = RUS_NMD
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_NMD
		}
		available = { has_completed_focus = RUS_goseko }
		ai_will_do = { factor = 60 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_denounce_elites"
			country_event = { id = russia_monarchist_events.31 days = 20 } #Duma of Industry and Labour
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_denounce_elites"
			swap_ideas = {
				remove_idea = RUS_state_economic_committee
				add_idea = RUS_state_economic_committee_4
			}
			if = {
				limit = { has_country_flag = RUS_business_deal }
				clr_country_flag = RUS_business_deal
			}
			effect_tooltip = {
				RUS_aleksandr_kamenka = {
					remove_political_advisor_role = yes
				}
				RUS_pavel_buryshkin = {
					remove_political_advisor_role = yes
				}
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { decision = RUS_NMD_anti_corruption target = ROOT }
			custom_effect_tooltip = RUS_NMD_anti_corruption_tt
		}
		search_filters = { FOCUS_FILTER_PRODUCTION FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_healthy_body_healthy_mind
		icon = GFX_focus_SOV_ivan_plays_baseball
		cost = 6

		relative_position_id = RUS_NMD
		x = -1
		y = 3

		prerequisite = {
			focus = RUS_denounce_elites
		}
		prerequisite = {
			focus = RUS_stabs_captain_movement
		}

		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_healthy_body_healthy_mind"
			add_stability = 0.1
			add_ideas = RUS_ruralism
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_duma_of_best_minds
		icon = GFX_goal_generic_council
		cost = 6

		relative_position_id = RUS_NMD
		x = 0
		y = 2
		available = {
			threat > 0.75
			custom_override_tooltip = {
				tooltip = RUS_judicial_review_law_NOT
				NOT = { has_country_flag = RUS_judicial_review_law }
			}
			NOT = { has_idea = RUS_deadlocked_duma }
			if = {
				limit = {
					NOT = {
						AND = {
							is_ai = yes
							has_game_rule = { rule = RUS_path option = RUS_PATH_SOLONEVICH_SOCCON }
						}
					}
				}
				set_temp_variable = { RUS_anger_check < 5 }
				custom_override_tooltip = {
					tooltip = RUS_check_military_anger_NOT
					OR = {
						check_variable = { RUS_military_anger < 5 }
						NOT = { has_idea = RUS_military_anger_dem }
					}
				}
				if = {
					limit = { is_ai = no }
					custom_override_tooltip = {
						tooltip = RUS_check_right_anger_NOT
						OR = {
							check_variable = { RUS_right_anger < 5 }
							NOT = { has_idea = RUS_right_anger }
						}
					}
					custom_override_tooltip = {
						tooltip = RUS_check_left_anger_NOT
						OR = {
							check_variable = { RUS_left_anger < 5 }
							NOT = { has_idea = RUS_left_anger }
						}
					}
				}
			}
			custom_override_tooltip = {
				tooltip = RUS_dictatorship_averted_NOT
				NOT = { has_country_flag = RUS_dictatorship_averted }
			}
			NOT = { has_idea = RUS_establishment_opposition }
		}
		cancel = { has_country_flag = RUS_dictatorship_averted }
		prerequisite = {
			focus = RUS_denounce_elites
		}
		prerequisite = {
			focus = RUS_plague_of_democraticism
		}

		ai_will_do = { factor = 500 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_duma_of_best_minds"
			country_event = { id = russia_monarchist_events.34 days = 30 } #Referendum on Russian Future
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_duma_of_best_minds"
			custom_effect_tooltip = RUS_duma_of_best_minds_tt
			hidden_effect = {
				set_politics = {
					ruling_party = paternal_autocrat
					elections_allowed = yes
				}
				set_temp_variable = { coalition_partner_var = token:authoritarian_democrat }
				add_to_coalition = yes
				set_temp_variable = { coalition_partner_var = token:social_conservative }
				add_to_coalition = yes
				country_event = { id = russia_monarchist_events.38 days = 365 random_days = 180 } #People's Monarchism or New National Narodism?
			}
			swap_ideas = {
				remove_idea = RUS_guided_democracy
				add_idea = RUS_advisory_duma
			}
			set_temp_variable = { RUS_pop_increase = party_popularity@authoritarian_democrat }
			divide_temp_variable = { RUS_pop_increase = 2 }
			add_popularity = { ideology = paternal_autocrat popularity = RUS_pop_increase }
			hidden_effect = {
				multiply_temp_variable = { RUS_pop_increase = -1 }
				add_popularity = { ideology = authoritarian_democrat popularity = RUS_pop_increase }
			}
			set_temp_variable = { RUS_anger_change = 2 }
			RUS_change_right_anger = yes
			set_temp_variable = { RUS_anger_change = 3 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_tsars_people_peoples_tsar
		icon = GFX_focus_SOV_zemsky_sobor
		cost = 6

		relative_position_id = RUS_NMD
		x = 1
		y = 3
		available = {
			has_government = paternal_autocrat
			owns_state = 202
		}
		prerequisite = {
			focus = RUS_duma_of_best_minds
		}
		prerequisite = {
			focus = RUS_evolved_but_untamed
		}

		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_tsars_people_peoples_tsar"
			set_cosmetic_tag = RUS_tsardom #add event
			add_trait = {
				character = RUS_ivan_solonevich
				slot = second_in_command
				trait = RUS_hand_of_tsar
			}
			add_trait = {
				character = RUS_vladimir_romanov
				trait = RUS_peoples_tsar
				ideology = paternal_autocrat_subtype
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_triumphant_russian_nation
		icon = {
			trigger = { is_monarchy = yes }
			value = GFX_goal_RUS_empire_victorious
		}
		icon = {
			trigger = { is_monarchy = no }
			value = GFX_goal_RUS_republic_victorious
		}
		cost = 6
		dynamic = yes
		relative_position_id = RUS_democracy_restored
		x = 0
		y = 8
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				has_socialist_government = yes
			}
		}
		offset = {
			y = 7
			x = 3
			trigger = { RUS_is_demrus = yes }
		}
		available = {
			NOT = { country_exists = GER }
			NOT = {
				has_government = national_populist
				has_socialist_government = yes
			}
		}

		ai_will_do = { factor = 100 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_triumphant_russian_nation"
			if = {
				limit = {
					has_idea = RUS_rule_by_decree
					has_country_flag = RUS_mil_anger_coup
				}
				country_event = russia_monarchist_events.71 #Restoration of Civilian Government
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_triumphant_russian_nation"
			if = {
				limit = { has_completed_focus = RUS_black_baron }
				custom_effect_tooltip = RUS_wrangel_postwar_tt
			}
			if = {
				limit = { has_country_flag = RUS_postponed_elections }
				custom_effect_tooltip = RUS_elections_soon_tt
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { is_monarchy = yes }
					hidden_effect = {
						country_event = { id = russia_elections_events.52 days = 30 }
					}
				}
				else = {
					hidden_effect = {
						country_event = { id = russia_elections_events.51 days = 30 }
					}
				}
			}
			if = {
				limit = {
					has_country_leader = { character = RUS_pyotr_wrangel }
					has_completed_focus = RUS_black_baron
				}
				country_event = { id = russia_monarchist_events.94 days = 14 } ##End of state of emergency and calls for elections
			}
			remove_ideas = RUS_military_anger_dem
			remove_ideas = RUS_right_anger
			remove_ideas = RUS_left_anger
			hidden_effect = {
				if = {
					limit = { has_character = RUS_lavr_kornilov } #If restored in russia_flavour_events.136
					retire_character = RUS_lavr_kornilov
				}
				country_event = { id = russia_events.312 days = 50 random_days = 50 } #Robbing of Europe
				country_event = { id = russia_democratic_events.32 days = 50 random_days = 150 } #Denikin retires
				country_event = { id = russia_democratic_events.168 days = 50 } #The Resurgent Left
				country_event = { id = russia_democratic_events.170 days = 60 random_days = 120 } #Rebirth of Russian Socialism
				country_event = { id = russia_democratic_events.169 days = 170 } #The Misery of the West
				country_event = { id = russia_democratic_events.174 days = 200 random_days = 200 } #Reconnecting with the Russian Soul
				country_event = { id = russia_democratic_events.166 days = 100 random_days = 200 } #The Dvinsk Referendum
				country_event = { id = russia_flavour_events.108 days = 150 random_days = 365 } #Savinkov Lives!
				country_event = { id = russia_monarchist_events.37 days = 365 } #The Emperor in History
				country_event = { id = russia_democratic_events.175 days = 10 } #Maklakov's Resignation
				country_event = { id = russia_flavour_events.124 days = 60 random_days = 200 } #Treaty of Dresden
				country_event = { id = russia_flavour_events.144 days = 150 random_days = 25 } #An Uneasy Future (Rikhter ending)
				country_event = { id = russia_flavour_events.147 days = 350 random_days = 50 } #Cain and Abel
				country_event = { id = russia_flavour_events.153 days = 600 random_days = 200 } #Empire of the 20th Century
				country_event = { id = russia_flavour_events.156 days = 800 random_days = 150 } #The Old Believers
				country_event = { id = russia_flavour_events.126 days = 50 random_days = 150 } #Vladimir Marries Maria
				country_event = { id = russia_flavour_events.128 days = 250 random_days = 65 } #Vladimir marries Leonida
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_great_forgiving
		icon = GFX_goal_ideology_social_democrat
		cost = 6
		relative_position_id = RUS_triumphant_russian_nation
		x = -4
		y = 1
		prerequisite = {
			focus = RUS_triumphant_russian_nation
		}
		mutually_exclusive = {
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
			focus = RUS_european_policeman
			focus = RUS_return_to_tradition
		}
		available = {
			OR = {
				has_country_leader = { character = RUS_vasily_maklakov }
				has_country_leader = { character = RUS_nikolay_nekrasov }
				RUS_sorokin = yes
				RUS_titov = yes
			}
			if = {
				limit = {
					NOT = { has_government = social_democrat }
				}
				is_in_coalition_with_social_democrat = yes
			}
			custom_override_tooltip = {
				tooltip = RUS_army_republicanisation_tt
				check_variable = { RUS_republicanisation > 3 }
			}
			if = {
				limit = {
					has_soclib_or_socdem_government = yes
				}
				has_country_flag = RUS_finished_sorokin_reforms_best
			}
			has_country_flag = RUS_repeal_communist_ban_law
			OR = {
				has_idea = RUS_strong_democracy
				has_idea = RUS_genuine_democracy
			}
			NOT = {
				has_war_with = INT
				has_war_with = JAP
			}
			has_country_flag = RUS_had_first_election
		}

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				any_enemy_country = { is_in_europe = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_great_forgiving"
			country_event = russia_democratic_events.160
			add_ideas = RUS_rebuilding_better
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_european_democracy_1_tt
			hidden_effect = {
				if = {
					limit = {
						POL = { is_subject_of = RUS }
					}
					country_event = { id = russia_flavour_events.119 days = 50 random_days = 30 }
				}
				if = {
					limit = {
						POL = {
							NOT = { is_subject_of = RUS }
							has_government = national_populist
						}
					}
					country_event = { id = russia_flavour_events.121 days = 50 random_days = 30 }
				}
				country_event = { id = russia_democratic_events.165 days = 30 random_days = 30 }
				every_country = {
					limit = {
						is_subject_of = RUS
						is_ai = yes
						is_in_europe = yes
						NOT = { tag = GRU }
					}
					country_event = russia_democratic_events.151
				}
				RUS_postwar_distribute_dem_popularities = yes
			}
		}
	}
	focus = {
		id = RUS_escaping_the_cycle
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		cost = 6
		relative_position_id = RUS_triumphant_russian_nation
		x = -2
		y = 1
		prerequisite = {
			focus = RUS_triumphant_russian_nation
		}
		mutually_exclusive = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
			focus = RUS_european_policeman
			focus = RUS_return_to_tradition
		}
		available = {
			has_liberal_government = yes
			OR = {
				has_country_flag = RUS_confidence_votes_law
				has_country_flag = RUS_defensive_democracy_law
			}
			OR = {
				has_idea = RUS_strong_democracy
				has_idea = RUS_genuine_democracy
			}
			if = {
				limit = { is_monarchy = yes }
				OR = {
					has_idea = RUS_imperial_popularity_4
					has_idea = RUS_imperial_popularity_5
				}
			}
			if = {
				limit = { has_government = market_liberal }
				has_completed_focus = RUS_coalition_of_idealists
			}
			has_country_flag = RUS_had_first_election
		}

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				any_enemy_country = { is_in_europe = yes }
			}
		}
		continue_if_invalid = yes

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_escaping_the_cycle"
			country_event = russia_democratic_events.161
			add_ideas = RUS_torch_for_all_world
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_european_democracy_1_tt
			hidden_effect = {
				country_event = { id = russia_democratic_events.165 days = 30 random_days = 30 }
				if = {
					limit = {
						POL = { is_subject_of = RUS }
					}
					country_event = { id = russia_flavour_events.119 days = 50 random_days = 30 }
				}
				if = {
					limit = {
						POL = {
							NOT = { is_subject_of = RUS }
							has_government = national_populist
						}
					}
					country_event = { id = russia_flavour_events.121 days = 50 random_days = 30 }
				}
				every_country = {
					limit = {
						is_subject_of = RUS
						is_ai = yes
						is_in_europe = yes
						NOT = { tag = GRU }
					}
					country_event = russia_democratic_events.151
				}
				RUS_postwar_distribute_dem_popularities = yes
			}
		}
	}
	focus = {
		id = RUS_first_party_of_russia
		icon = GFX_focus_ARG_keep_it_in_the_party
		cost = 6
		relative_position_id = RUS_triumphant_russian_nation
		x = 0
		y = 1
		prerequisite = {
			focus = RUS_triumphant_russian_nation
		}
		mutually_exclusive = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_european_policeman
			focus = RUS_return_to_tradition
		}
		available = {
			if = {
				limit = { has_democratic_government = yes }
				check_variable = { party_popularity@ruling_party > 0.5 tooltip = KR_party_pop_more_than }
			}
			OR = {
				has_idea = RUS_guided_democracy
				has_country_flag = RUS_electoral_threshold_law
			}
			has_elected_government = yes
			has_country_flag = RUS_had_first_election
		}

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = { rule = RUS_path option = RUS_PATH_SOLONEVICH_SOCCON }
			}
			modifier = {
				factor = 0
				any_enemy_country = { is_in_europe = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_first_party_of_russia"
			set_temp_variable = { ideology_change_var = 10 }
			change_ruling_party_popularity = yes
			if = {
				limit = { is_monarchy = yes }
				random_character = {
					limit = { is_second_in_command = yes }
					add_trait = {
						slot = second_in_command
						trait = RUS_the_statesman
					}
				}
			}
			else = {
				add_country_leader_trait = RUS_the_statesman
			}
			country_event = russia_democratic_events.162
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_european_democracy_3_tt
			hidden_effect = {
				country_event = { id = russia_flavour_events.143 days = 1 }
			}
		}
	}
	focus = {
		id = RUS_european_policeman
		icon = GFX_goal_authoritarian
		cost = 6
		relative_position_id = RUS_triumphant_russian_nation
		x = 2
		y = 1
		prerequisite = {
			focus = RUS_triumphant_russian_nation
		}
		mutually_exclusive = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
			focus = RUS_return_to_tradition
		}
		available = {
			has_stability > 0.5
			has_army_manpower = { size > 2000000 }
			has_soclib_or_socdem_government = no
			has_country_flag = RUS_had_first_election
		}

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = { rule = RUS_path option = RUS_PATH_SOLONEVICH_SOCCON }
			}
			modifier = {
				factor = 0
				any_enemy_country = { is_in_europe = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_european_policeman"
			country_event = russia_democratic_events.163
			add_ideas = RUS_arsenal_of_sanity
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_power_change = 35 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_european_democracy_3_tt
			hidden_effect = {
				country_event = { id = russia_flavour_events.143 days = 1 }
			}
		}
		search_filters = { FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_return_to_tradition
		icon = GFX_focus_SOV_panslavic_nationalism
		cost = 6
		relative_position_id = RUS_triumphant_russian_nation
		x = 4
		y = 1
		prerequisite = {
			focus = RUS_triumphant_russian_nation
		}
		mutually_exclusive = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
			focus = RUS_european_policeman
		}
		available = {
			if = {
				limit = { is_monarchy = no }
				has_country_flag = RUS_solonevich_re-elected
				has_government = social_conservative
			}
			else = {
				has_country_flag = RUS_had_first_election
				has_authdem_or_pataut_government = yes
			}
		}

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 50
				OR = {
					has_country_leader = { character = RUS_ivan_solonevich }
					RUS_ivan_solonevich = { is_second_in_command = yes }
				}
			}
			modifier = {
				factor = 0
				any_enemy_country = { is_in_europe = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_return_to_tradition"
			country_event = russia_democratic_events.164
			if = {
				limit = { RUS_solonevich = yes }
				set_politics = {
					ruling_party = authoritarian_democrat
					elections_allowed = yes
				}
				hidden_effect = {
					RUS_ivan_solonevich = {
						add_country_leader_role = {
							country_leader = {
								desc = RUS_ivan_solonevich_leader_desc
								ideology = authoritarian_democrat_subtype
							}
							promote_leader = yes
						}
						add_country_leader_trait = RUS_solonevich_1_off
						add_country_leader_trait = RUS_solonevich_2_on
						add_country_leader_trait = RUS_solonevich_3_on
					}
				}
				add_country_leader_trait = RUS_solonevich_combined
			}
			else_if = {
				limit = {
					has_country_leader = { character = RUS_pyotr_wrangel }
				}
				effect_tooltip = {
					swap_ruler_traits = {
						remove = RUS_emperor_of_all_russias_wrangel
						add = RUS_emperor_of_all_russias_wrangel_2
					}
				}
				hidden_effect = {
					var:country_leader = {
						set_temp_variable = { remove_trait_token = token:RUS_emperor_of_all_russias_wrangel }
						set_temp_variable = { add_trait_token = token:RUS_emperor_of_all_russias_wrangel_2 }
						swap_traits_in_all_country_leader_roles = yes
					}
				}
			}
			else_if = {
				limit = {
					has_country_leader = { character = RUS_vladimir_romanov }
				}
				effect_tooltip = {
					swap_ruler_traits = {
						remove = RUS_emperor_of_all_russias
						add = RUS_emperor_of_all_russias_2
					}
				}
				hidden_effect = {
					var:country_leader = {
						set_temp_variable = { remove_trait_token = token:RUS_emperor_of_all_russias }
						set_temp_variable = { add_trait_token = token:RUS_emperor_of_all_russias_2 }
						swap_traits_in_all_country_leader_roles = yes
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_return_to_tradition_tt
			hidden_effect = {
				country_event = { id = russia_democratic_events.165 days = 30 random_days = 30 }
				every_country = {
					limit = {
						is_subject_of = RUS
						is_ai = yes
						is_in_europe = yes
						NOT = { tag = GRU }
					}
					country_event = russia_democratic_events.151
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_peace_for_our_time
		icon = GFX_goal_COS_Peace
		cost = 5
		relative_position_id = RUS_triumphant_russian_nation
		x = -5
		y = 2
		available = {
			custom_override_tooltip = {
				tooltip = tilsit_peace_success
				has_completed_focus = RUS_eureka_conference
				NOT = { has_global_flag = tilsit_peace_collapsed }
			}
			has_war = no
			if = {
				limit = { has_soclib_or_socdem_government = no }
				OR = {
					is_in_coalition_with_social_democrat = yes
					is_in_coalition_with_radical_socialist = yes
				}
			}
		}
		prerequisite = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
		}

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_peace_for_our_time"
			every_country = {
				limit = {
					OR = {
						tag = RUS
						tag = FRA
						tag = ENG
					}
				}
				add_war_support = -0.25
			}
			add_named_threat = {
				threat = -25
				name = RUS_peace_for_our_time
			}
			set_temp_variable = { ideology_change_var = 10 }
			change_ruling_party_popularity = yes
			add_popularity = { ideology = radical_socialist popularity = 0.05 }
			### Disable WK3 heatening
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_social_republic
		icon = {
			trigger = { is_monarchy = no }
			value = GFX_focus_ARG_women_in_industry
		}
		icon = {
			trigger = { is_monarchy = yes }
			value = GFX_focus_SWE_form_rfsu
		}
		dynamic = yes
		cost = 5
		relative_position_id = RUS_triumphant_russian_nation
		x = -3
		y = 2
		prerequisite = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
		}

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_social_republic"
			if = {
				limit = { has_idea = RUS_pensions }
				swap_ideas = {
					remove_idea = RUS_pensions
					add_idea = RUS_welfare_system_full
				}
			}
			else = { add_ideas = RUS_welfare_system }
			set_temp_variable = { ideology_change_var = 5 }
			change_ruling_party_popularity = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_RESISTANCE FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_pension_system
		icon = GFX_focus_generic_treaty
		cost = 5
		relative_position_id = RUS_triumphant_russian_nation
		x = -1
		y = 2
		prerequisite = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
			focus = RUS_european_policeman
		}

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pension_system"
			if = {
				limit = { has_idea = RUS_welfare_system }
				swap_ideas = {
					remove_idea = RUS_welfare_system
					add_idea = RUS_welfare_system_full
				}
			}
			else = { add_ideas = RUS_pensions }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_demobilisation
		icon = GFX_goal_RUS_demoblisation
		cost = 5
		relative_position_id = RUS_triumphant_russian_nation
		x = 1
		y = 2
		prerequisite = {
			focus = RUS_great_forgiving
			focus = RUS_escaping_the_cycle
			focus = RUS_first_party_of_russia
			focus = RUS_european_policeman
			focus = RUS_return_to_tradition
		}
		ai_will_do = { factor = 10 }
		bypass = {
			OR = {
				has_idea = disarmed_nation
				has_idea = volunteer_only
				has_idea = limited_conscription
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_demobilisation"
			add_stability = 0.05
			add_political_power = 150
			add_ideas = limited_conscription
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_reward_veterans
		icon = GFX_goal_RUS_veterans
		cost = 5
		relative_position_id = RUS_triumphant_russian_nation
		x = 3
		y = 2
		prerequisite = {
			focus = RUS_first_party_of_russia
			focus = RUS_european_policeman
			focus = RUS_return_to_tradition
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_reward_veterans"
			random_army_leader = {
				limit = {
					skill > 4
					is_field_marshal = no
				}
				promote_leader = yes
				add_max_trait = 1
			}
			random_army_leader = {
				limit = {
					skill > 3
					is_field_marshal = no
				}
				promote_leader = yes
				add_max_trait = 1
			}
			country_event = russia_democratic_events.165
			add_stability = 0.05
			set_temp_variable = { ideology_change_var = 5 }
			change_ruling_party_popularity = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_economic_harmonisation
		icon = GFX_focus_SWE_hygienic_housing
		cost = 5
		relative_position_id = RUS_demobilisation
		x = -3
		y = 1
		prerequisite = {
			focus = RUS_pension_system
			focus = RUS_demobilisation
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_economic_harmonisation"
			custom_effect_tooltip = RUS_economic_harmonisation_tt
			custom_effect_tooltip = tooltip_white_line
			every_owned_state = {
				limit = {
					OR = {
						region = 130 #Ukraine
						region = 39 #Belarus
						region = 37 #Baltic States
					}
					OR = {
						has_state_category = one
						has_state_category = two
					}
					is_controlled_by = RUS
				}
				increase_state_category_by_one_level = yes
				if = {
					limit = { NOT = { is_core_of = RUS } }
					add_compliance = 5
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}
	focus = {
		id = RUS_catch_up_with_west
		icon = GFX_focus_generic_road_investment
		cost = 5
		relative_position_id = RUS_demobilisation
		x = -1
		y = 1
		prerequisite = {
			focus = RUS_demobilisation
		}
		available = {
			if = {
				limit = { country_exists = USA }
				ic_ratio = { tag = USA ratio > 1 }
			}
			else_if = {
				limit = { country_exists = WCA }
				ic_ratio = { tag = WCA ratio > 1 }
			}
			else_if = {
				limit = { country_exists = ACC }
				ic_ratio = { tag = ACC ratio > 1 }
			}
			else_if = {
				limit = { country_exists = AUS }
				ic_ratio = { tag = AUS ratio > 1 }
			}
			else_if = {
				limit = { country_exists = NEE }
				ic_ratio = { tag = NEE ratio > 1 }
			}
			if = {
				limit = { country_exists = FRA }
				ic_ratio = { tag = FRA ratio > 1 }
			}
			else_if = {
				limit = { country_exists = NFA }
				ic_ratio = { tag = NFA ratio > 1 }
			}
			if = {
				limit = { country_exists = ENG }
				ic_ratio = { tag = ENG ratio > 1 }
			}
			else_if = {
				limit = { country_exists = IMP }
				ic_ratio = { tag = IMP ratio > 1 }
			}
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_catch_up_with_west"
			set_temp_variable = { RUS_power_change = 20 }
			RUS_change_projection = yes
			add_research_slot_until_six = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_vanguard_at_elbe
		icon = GFX_goal_AUS_german_austria
		cost = 5
		relative_position_id = RUS_demobilisation
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_demobilisation
		}
		prerequisite = {
			focus = RUS_reward_veterans
		}
		available = {
			OR = {
				any_subject_country = {
					owns_state = 64 #Berlin
					is_german_tag = yes
					any_neighbor_country = { has_socialist_government = yes }
				}
				var:64.owner = {
					is_in_faction_with = ROOT
				}
			}
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_vanguard_at_elbe"
			set_temp_variable = { RUS_power_change = 20 }
			RUS_change_projection = yes
			every_subject_country = {
				limit = {
					is_german_tag = yes
					any_neighbor_country = { has_socialist_government = yes }
				}
				#event to germany about help
				add_one_random_military_factory = yes
				add_one_random_military_factory = yes
				add_one_random_military_factory = yes
				every_owned_state = {
					limit = {
						any_neighbor_state = {
							owner = { is_ally_with = INT }
						}
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 2
							instant_build = yes
							province = {
								all_provinces = yes
								limit_to_border = yes
							}
						}
						tooltip = {
							localization_key = tooltip_add_building_on_border_provinces
							BUILDING = bunker
							NUMBER = 2
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_rehabilate_tsarism
		icon = GFX_goal_RUS_crown
		cost = 5
		relative_position_id = RUS_triumphant_russian_nation
		x = 5
		y = 2
		prerequisite = {
			focus = RUS_return_to_tradition
		}

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rehabilate_tsarism"
			if = {
				limit = { has_country_leader = { character = RUS_pyotr_wrangel } }
				add_country_leader_trait = RUS_wrangel_great
			}
			else_if = {
				limit = { has_country_leader = { character = RUS_vladimir_romanov } }
				add_country_leader_trait = RUS_vladimir_great
			}
			else_if = {
				limit = { RUS_solonevich = yes }
				add_political_power = 100
				219 = {
					add_dynamic_modifier = { modifier = RUS_third_rome_city }
				}
			}
			set_temp_variable = { ideology_change_var = 10 }
			change_ruling_party_popularity = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	### Wrangel tree ###
	focus = {
		id = RUS_black_baron
		icon = GFX_goal_RUS_black_prince
		cost = 6

		relative_position_id = RUS_democracy_restored
		x = 7
		y = 0
		allow_branch = { RUS_wrangel_path = yes }

		available = { hidden_trigger = { always = no } }
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_black_baron"
		}
	}
	focus = {
		id = RUS_desvobodnikisation
		icon = GFX_goal_RUS_desvobodnikisation
		cost = 5
		relative_position_id = RUS_black_baron
		x = 0
		y = 1
		prerequisite = {
			focus = RUS_black_baron
		}
		mutually_exclusive = {
			focus = RUS_national_russia
		}
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				has_game_rule = { rule = RUS_path option = RUS_PATH_SHULGIN_AUTDEM }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_desvobodnikisation"
			add_popularity = { ideology = national_populist popularity = -0.15 }
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { NOT = { has_completed_focus = RUS_redemption } }
				enable_tech_penal_battalion = yes
				custom_effect_tooltip = tooltip_white_line
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_create_division_template
						NAME = "Shtrafnaya Chast"
						LINE_1 = { localization_key = line_battalion_tt NAME = penal_battalion ICON = GFX_unit_penal_battalion_icon_small COUNT = 9 }
						SUPPORT_1 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
					}
					if = {
						limit = { has_template = "Shtrafnaya Chast" }
						delete_unit_template_and_units = { division_template = "Shtrafnaya Chast" disband = yes } #no cheating
					}
					division_template = {
						name = "Shtrafnaya Chast"
						division_names_group = RUS_PEN_01
						regiments = {
							penal_battalion = { x = 0 y = 0 }
							penal_battalion = { x = 0 y = 1 }
							penal_battalion = { x = 0 y = 2 }
							penal_battalion = { x = 1 y = 0 }
							penal_battalion = { x = 1 y = 1 }
							penal_battalion = { x = 1 y = 2 }
							penal_battalion = { x = 2 y = 0 }
							penal_battalion = { x = 2 y = 1 }
							penal_battalion = { x = 2 y = 2 }
						}
						support = {
							artillery = { x = 0 y = 0 }
						}
					}
				}
				hidden_effect = {
					country_event = { id = russia_flavour_events.166 days = 5 } #Shtrafniks Are Going Into Battle
				}
			}
			custom_effect_tooltip = tooltip_white_line
			capital_scope = {
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_units
						COUNT = 6
						TYPE = "Shtrafnaya Chast"
					}
					create_unit = {
						division = "division_template = \"Shtrafnaya Chast\" start_experience_factor = 0.5"
						owner = ROOT
						count = 6
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			every_character = {
				limit = { has_trait = RUS_savinkovist_officer }
				retire = yes
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_new_vozhd
		icon = GFX_goal_ideology_paternal_autocrat
		cost = 5
		relative_position_id = RUS_black_baron
		x = 2
		y = 1
		prerequisite = {
			focus = RUS_black_baron
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_vozhd"
			add_stability = 0.1
			add_country_leader_trait = RUS_ruler_of_state
			hidden_effect = {
				country_event = { id = russia_monarchist_events.83 days = 2 } #Wrangel and the Savinkov Constitution
				country_event = { id = russia_monarchist_events.81 days = 60 } #Wrangel's guard
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_national_russia
		icon = GFX_focus_SOV_restore_cossack_units
		cost = 5
		relative_position_id = RUS_black_baron
		x = -2
		y = 1
		prerequisite = {
			focus = RUS_black_baron
		}
		mutually_exclusive = {
			focus = RUS_desvobodnikisation
		}
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				OR = {
					has_game_rule = { rule = RUS_path option = RUS_PATH_GOLITSYN_SOCCON }
					has_game_rule = { rule = RUS_path option = RUS_PATH_KARTASHYOV_MARLIB }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_russia"
			add_popularity = { ideology = paternal_autocrat popularity = 0.1 }
			add_popularity = { ideology = authoritarian_democrat popularity = 0.05 }
			RUS_increase_imperial_popularity = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_aleksandr_trushnovich_advisor
			show_ideas_tooltip = RUS_sergey_l_voytsekhovsky_advisor
			show_ideas_tooltip = RUS_ivan_ilyin_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_with_whomever_but_for_russia
		icon = GFX_goal_RUS_army
		cost = 5
		relative_position_id = RUS_black_baron
		x = 1
		y = 2

		prerequisite = {
			focus = RUS_new_vozhd
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_with_whomever_but_for_russia"
			add_stability = 0.1
			RUS_increase_imperial_popularity = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_mobilisation_of_all_people
		icon = GFX_focus_generic_military_equipment
		cost = 5
		relative_position_id = RUS_black_baron
		x = -1
		y = 2

		prerequisite = {
			focus = RUS_desvobodnikisation
			focus = RUS_national_russia
		}
		ai_will_do = { factor = 50 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_mobilisation_of_all_people"
			country_event = { id = russia_monarchist_events.82 days = 15 }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mobilisation_of_all_people"
			swap_ideas = {
				remove_idea = RUS_post-savinkov_economy
				add_idea = RUS_council_of_industrialists
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_national_government
		icon = GFX_goal_Fight_for_Freedom
		cost = 5
		relative_position_id = RUS_black_baron
		x = 3
		y = 2

		prerequisite = {
			focus = RUS_desvobodnikisation
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_government"
			add_stability = 0.05
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			#event: conference with democratic forces, success gets you:
			set_temp_variable = { coalition_partner_var = token:social_conservative }
			add_to_coalition = yes
			set_temp_variable = { coalition_partner_var = token:market_liberal }
			add_to_coalition = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_anton_kartashyov_advisor
			show_ideas_tooltip = RUS_pyotr_dolgorukov_advisor
			show_ideas_tooltip = RUS_ivan_solonevich_advisor
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_negotiate_with_srs
		icon = GFX_goal_RUS_radsocs
		cost = 4
		relative_position_id = RUS_with_whomever_but_for_russia
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_national_government
		}
		prerequisite = {
			focus = RUS_with_whomever_but_for_russia
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_negotiate_with_srs"
			#event chain abotu negotiations
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_left_anger = yes
			add_stability = 0.05
			set_temp_variable = { coalition_partner_var = token:social_liberal }
			add_to_coalition = yes
			add_popularity = { ideology = social_liberal popularity = 0.05 }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_ilya_fondaminsky_advisor
			show_ideas_tooltip = RUS_nikolay_kondratyev_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = RUS_pardon_misguided
		icon = GFX_goal_generic_imprison_people
		cost = 5
		relative_position_id = RUS_with_whomever_but_for_russia
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_with_whomever_but_for_russia
		}
		prerequisite = {
			focus = RUS_mobilisation_of_all_people
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pardon_misguided"
			add_manpower = 40500
			RUS_increase_imperial_popularity = yes
			FER = {
				every_character = {
					limit = {
						OR = {
							RUS = { RUS_mikhail_diterikhs = { is_character = PREV.PREV } }
							RUS = { RUS_fyodor_bredov = { is_character = PREV.PREV } }
							RUS = { RUS_viktorin_molchanov = { is_character = PREV.PREV } }
							RUS = { RUS_nikolay_protopopov = { is_character = PREV.PREV } }
							RUS = { RUS_leonid_skipetrov = { is_character = PREV.PREV } }
						}
					}
					hidden_effect = {
						demote_to_general = yes
						remove_political_advisor_role = yes
						remove_high_command_role = yes
						remove_army_chief_role = yes
					}
					set_nationality = ROOT
				}
				if = {
					limit = { has_character = MON_roman_ungern_sternberg }
					every_character = {
						limit = {
							OR = {
								MON = { MON_roman_ungern_sternberg = { is_character = PREV.PREV } }
								MON = { MON_mikhail_tornovsky = { is_character = PREV.PREV } }
								MON = { MON_nikolay_kazagrandi = { is_character = PREV.PREV } }
								MON = { MON_boris_rezukhin = { is_character = PREV.PREV } }
							}
						}
						hidden_effect = {
							demote_to_general = yes
							remove_high_command_role = yes
						}
						set_nationality = ROOT
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_garrison_state
		icon = GFX_goal_generic_join_faction
		cost = 5
		relative_position_id = RUS_with_whomever_but_for_russia
		x = -3
		y = 1

		prerequisite = {
			focus = RUS_mobilisation_of_all_people
		}
		prerequisite = {
			focus = RUS_national_russia
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_garrison_state"
			add_ideas = RUS_garrison_state_idea
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_ministry_of_morale
		icon = GFX_goal_generic_cinema
		cost = 5
		relative_position_id = RUS_national_russia
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_national_russia
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ministry_of_morale"
			add_popularity = { ideology = paternal_autocrat popularity = 0.12 }
			add_war_support = 0.1
			#event, chocie about purely war propaganda or more ideological stuff
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_pledge_of_democracy
		icon = GFX_goal_generic_parliament
		cost = 5
		relative_position_id = RUS_pardon_misguided
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_pardon_misguided
		}
		mutually_exclusive = {
			focus = RUS_oaths_of_allegiance
		}
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				has_country_flag = RUS_wrangel_vps
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pledge_of_democracy"
			add_stability = 0.1
			RUS_increase_imperial_popularity = yes
			set_temp_variable = { RUS_anger_change = -2 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_oaths_of_allegiance
		icon = GFX_goal_mass_concentration_of_army
		cost = 5
		relative_position_id = RUS_pardon_misguided
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_pardon_misguided
		}
		mutually_exclusive = {
			focus = RUS_pledge_of_democracy
		}
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				has_country_flag = RUS_wrangel_kadets
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_oaths_of_allegiance"
			custom_effect_tooltip = RUS_oaths_of_allegiance_tt
			add_political_power = 100
			set_temp_variable = { RUS_anger_change = 2 }
			RUS_change_left_anger = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_faith_valour_motherland
		icon = GFX_goal_RUS_empire_reborn
		cost = 5
		relative_position_id = RUS_pardon_misguided
		x = 0
		y = 2
		available = { has_war = yes }
		bypass = {
			NOT = { country_exists = GER }
		}
		prerequisite = {
			focus = RUS_pledge_of_democracy
			focus = RUS_oaths_of_allegiance
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_faith_valour_motherland"
			add_war_support = 0.05
			custom_effect_tooltip = RUS_faith_valour_motherland_tt
			add_ideas = RUS_imperial_patriotism
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS }
	}

	### Wrangel SOR path
	focus = {
		id = RUS_authdems
		icon = GFX_goal_RUS_authdem
		cost = 6
		allow_branch = {
			RUS_wrangel_path = yes
		}
		relative_position_id = RUS_soccons
		x = 2
		y = 0

		prerequisite = {
			focus = RUS_elections
		}
		available = { always = no }
		bypass = { has_government = authoritarian_democrat }

		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_authdems"
			RUS_set_default_industry_costs = yes
			hidden_effect = {
				country_event = { id = russia_democratic_events.78 days = 700 } #The Conservative Rural Program
				uncomplete_national_focus = { focus = RUS_socdems uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soclibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_marlibs uncomplete_children = yes }
				uncomplete_national_focus = { focus = RUS_soccons uncomplete_children = yes }
			}
		}
	}
	focus = {
		id = RUS_maintain_state_of_exception
		icon = GFX_goal_generic_suspend_constitution
		cost = 3
		available = {
			has_country_leader = { character = RUS_pyotr_wrangel }
			has_government = authoritarian_democrat
			has_war = yes
		}
		relative_position_id = RUS_authdems
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_authdems
		}
		prerequisite = {
			focus = RUS_garrison_state
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_maintain_state_of_exception"
			add_political_power = -50
			add_stability = 0.05
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_act_of_imperial_prerogative
		icon = GFX_focus_SOV_zemsky_sobor
		cost = 6

		relative_position_id = RUS_authdems
		x = 2
		y = 2

		mutually_exclusive = {
			focus = RUS_cut_parliamentary_red_tape
		}
		prerequisite = {
			focus = RUS_maintain_state_of_exception
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_act_of_imperial_prerogative"
			swap_ideas = {
				remove_idea = RUS_garrison_state_idea
				add_idea = RUS_wrangel_dictatorship
			}
			effect_tooltip = {
				set_party_name = {
					ideology = paternal_autocrat
					long_name = RUS_authoritarian_democrat3_party_long_tt
					name = RUS_authoritarian_democrat3_party
				}
			}
			set_temp_variable = { coalition_partner_var = token:paternal_autocrat }
			add_to_coalition = yes
			hidden_effect = {
				set_party_name = {
					ideology = paternal_autocrat
					long_name = RUS_authoritarian_democrat3_party_long
					name = RUS_authoritarian_democrat3_party
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_organic_democracy
		icon = GFX_focus_ARG_keep_it_in_the_party #GFX_goal_generic_controlled_board
		cost = 6

		relative_position_id = RUS_act_of_imperial_prerogative
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_act_of_imperial_prerogative
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_organic_democracy"
			add_popularity = { ideology = authoritarian_democrat popularity = 0.1 }
			RUS_add_guided_democracy = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = RUS_national_capitalism
		icon = GFX_goal_generic_financial_markets
		cost = 6
		available = { has_completed_focus = RUS_VSTPF }
		relative_position_id = RUS_act_of_imperial_prerogative
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_act_of_imperial_prerogative
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_national_capitalism"
			add_political_power = 50
			swap_ideas = {
				remove_idea = RUS_council_of_industrialists_3
				add_idea = RUS_council_of_industrialists_4
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_reasonable_autocracy
		icon = GFX_focus_SOV_my_brothers_keeper
		cost = 6

		relative_position_id = RUS_organic_democracy
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_national_capitalism
		}
		prerequisite = {
			focus = RUS_organic_democracy
		}

		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_reasonable_autocracy"
			swap_ideas = {
				remove_idea = RUS_wrangel_dictatorship
				add_idea = RUS_wrangel_dictatorship_2
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_INDUSTRY }
	}

	### Socialist Tree ###
	focus = {
		id = RUS_revolution_from_above
		icon = GFX_goal_generic_democratic_socialism
		cost = 0
		allow_branch = {
			RUS_is_demrus = no
		}
		x = 44
		y = 16 #0
		offset = {
			x = -44
			y = -16
			trigger = { has_socialist_government = yes }
		}
		available = { always = no }
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_revolution_from_above"
			RUS_set_default_industry_costs = yes
		}
	}

	focus = {
		id = RUS_red_flag_over_kremlin
		icon = GFX_goal_RUS_red_flag_over_kremlin
		cost = 0
		allow_branch = {
			RUS_is_demrus = no
		}
		relative_position_id = RUS_revolution_from_above
		x = -2
		y = 0
		available = { always = no }
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_red_flag_over_kremlin"
		}
	}

	focus = {
		id = RUS_peoples_security_apparatus
		icon = GFX_goal_NOR_secret_police
		cost = 3

		relative_position_id = RUS_revolution_from_above
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_revolution_from_above
			focus = RUS_red_flag_over_kremlin
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 500 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_peoples_security_apparatus"
			if = {
				limit = { has_dlc_lar = yes }
				create_intelligence_agency = {
					name = "VGPU"
					icon = GFX_intelligence_agency_logo_kr_rus2
				}
				add_ideas = RUS_vgpu_idea_lar
			}
			else = {
				add_ideas = RUS_vgpu_idea
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.52 days = 700 random_days = 700 }
			}
		}
		search_filters = { FOCUS_FILTER_RESISTANCE FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_nationalise_industries
		icon = GFX_focus_NORDIC_com_civilian
		cost = 3

		relative_position_id = RUS_revolution_from_above
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_revolution_from_above
			focus = RUS_red_flag_over_kremlin
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_nationalise_industries"
			if = {
				limit = { has_idea = RUS_post-savinkov_economy }
				swap_ideas = {
					remove_idea = RUS_post-savinkov_economy
					add_idea = RUS_workers_control
				}
			}
			else = {
				add_ideas = RUS_workers_control
			}
			if = {
				limit = {
					RUS_has_black_monday = yes
					has_variable = RUS.RUS_german_economic_influence
				}
				RUS_decrease_black_monday = yes
				set_temp_variable = { RUS_influence_change = -2 }
				RUS_change_german_economic_influence = yes
			}
			else_if = {
				limit = {
					RUS_has_black_monday = no
					has_variable = RUS.RUS_german_economic_influence
				}
				set_temp_variable = { RUS_influence_change = -3 }
				RUS_change_german_economic_influence = yes
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_socrus_reduce_influence_decisions_20
			set_variable = { RUS_influence_cost_low = 20 }
			set_variable = { RUS_influence_cost_normal = 50 }
			set_variable = { RUS_influence_cost_increased = 80 }
			set_country_flag = RUS_rename_industries
			hidden_effect = {
				if = {
					limit = { has_dlc_aat = yes }
					mio:RUS_putilovets_organisation = {
						set_mio_name_key = putilovets_socrus
						set_mio_icon = GFX_idea_SOV_kirov
					}
					mio:RUS_skorost_organisation = {
						set_mio_name_key = skorost_socrus
					}
					mio:RUS_gamayun_organisation = {
						set_mio_name_key = gamayun_socrus
					}
					mio:RUS_naz_organisation = {
						set_mio_name_key = naz_socrus
						set_mio_icon = GFX_idea_RUS_gaz
					}
					mio:RUS_laz_organisation = {
						set_mio_name_key = laz_socrus
					}
					mio:RUS_amo_organisation = {
						set_mio_name_key = amo_socrus
					}
					mio:RUS_obukhov_organisation = {
						set_mio_name_key = obukhov_socrus
					}
					mio:RUS_okmo_kr_organisation = {
						set_mio_icon = GFX_idea_okmo
					}
					mio:RUS_tstz_organisation = {
						set_mio_name_key = tstz_socrus
					}
				}
				country_event = { id = russia_socialist_events.384 days = 200 random_days = 200 } #Bringing Modernity to Russia
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_slay_militarism
		icon = GFX_goal_RUS_desvobodnikisation
		cost = 3

		relative_position_id = RUS_revolution_from_above
		x = -3
		y = 1

		prerequisite = {
			focus = RUS_revolution_from_above
			focus = RUS_red_flag_over_kremlin
		}
		available = {
			has_socialist_government = yes
			has_idea = RUS_white_army_red_baron
		}
		ai_will_do = { factor = 500 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_slay_militarism"
			country_event = russia_socialist_events.100
			RUS_fix_army_soc = yes
			RUS_abolish_hosts = yes
			add_popularity = { ideology = national_populist popularity = -0.05 }
			add_popularity = { ideology = paternal_autocrat popularity = -0.1 }
			if = {
				limit = { is_ai = yes }
				hidden_effect = {
					random_owned_controlled_state = {
						prioritize = { 219 }
						limit = { valid_state_for_spawning_friendly_unit = yes }
						create_unit = {
							division = "division_template = \"Pekhotnaya diviziya\" start_experience_factor = 0.5"
							owner = ROOT
							count = 14
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_russian_congress
		icon = GFX_goal_generic_syndicalist_council
		cost = 5

		relative_position_id = RUS_revolution_from_above
		x = -1
		y = 2

		prerequisite = {
			focus = RUS_slay_militarism
		}
		prerequisite = {
			focus = RUS_peoples_security_apparatus
		}
		prerequisite = {
			focus = RUS_nationalise_industries
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 1000 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_russian_congress"
			country_event = russia_socialist_events.300
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_russian_congress"
			custom_effect_tooltip = RUS_socrus_constituent_assembly_tt
			custom_effect_tooltip = tooltip_white_line
			country_event = russia_socialist_events.303
			hidden_effect = {
				country_event = { id = russia_socialist_events.32 days = 20 random_days = 20 } #Bolsheviks in the Officer Corps
				country_event = { id = russia_socialist_events.14 days = 30 random_days = 10 } #Communist Synthesis
				country_event = { id = russia_socialist_events.58 days = 50 } #The People's Militia System
				country_event = { id = russia_socialist_events.60 days = 75 random_days = 50 } #The Administrative Reform of [GetYear]
				country_event = { id = russia_socialist_events.61 days = 180 }  #The Russian Anarcho-Syndicalism
				country_event = { id = russia_socialist_events.314 days = 300 random_days = 300 } # Speculation with the Prices
				country_event = { id = russia_socialist_events.316 days = 400 random_days = 100 }  # Women's Section of the All-Russian Union of Labour
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_radsocs
		icon = GFX_goal_RUS_radsocs
		cost = 0

		relative_position_id = RUS_russian_congress
		x = -10
		y = 1
		allow_branch = {
			OR = {
				RUS_PLSR = yes
				has_government = national_populist
			}
		}
		offset = {
			trigger = { RUS_PLSR = yes }
			x = 10
		}
		prerequisite = {
			focus = RUS_russian_congress
		}
		mutually_exclusive = {
			focus = RUS_syndicalists
		}
		available = {
			always = no
		}
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_radsocs"
			mark_focus_tree_layout_dirty = yes
		}
	}

	focus = {
		id = RUS_rebuild_the_party
		icon = GFX_goal_RUS_rebuild_eser_party
		cost = 3
		relative_position_id = RUS_radsocs
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_radsocs
		}
		ai_will_do = { factor = 100 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_rebuild_the_party"
			country_event = russia_socialist_events.103
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rebuild_the_party"
			custom_effect_tooltip = RUS_rebuild_the_party_tt
			country_event = russia_socialist_events.104
			hidden_effect = {
				country_event = { id = russia_socialist_events.133 days = 120 random_days = 50 }
				country_event = { id = russia_socialist_events.186 days = 240 random_days = 100 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_ban_bolsheviks
		icon = GFX_focus_SOV_the_last_purge
		cost = 6
		relative_position_id = RUS_rebuild_the_party
		x = 0
		y = 1
		dynamic = yes
		prerequisite = {
			focus = RUS_rebuild_the_party
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_ban_bolsheviks"
			if = {
				limit = { RUS_is_maximalist = yes }
				country_event = russia_socialist_events.125
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ban_bolsheviks"
			if = {
				limit = {
					NOT = { has_country_flag = RUS_bolshevik_alliance }
				}
				country_event = russia_socialist_events.35
				custom_effect_tooltip = tooltip_white_line
				event_option_tooltip = russia_socialist_events.35.a
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { RUS_irina_kakhovskaya = { is_hired_as_advisor = no } }
					custom_effect_tooltip = RUS_ban_bolsheviks_tt
					effect_tooltip = {
						add_political_power = 100
					}
				}
				else = {
					add_political_power = 100
				}
			}
			else = {
				country_event = russia_socialist_events.126
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = {
						RUS_irina_kakhovskaya = { is_hired_as_advisor = yes }
					}
					add_political_power = 100
				}
				add_popularity = {
					ideology = totalist
					popularity = 0.1
				}
				set_temp_variable = { RUS_maximalist_influence_change = 10 }
				RUS_maximalist_influence = yes
				set_temp_variable = { RUS_maximalist_suspicion_change = 5 }
				RUS_maximalist_suspicion = yes
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_yakov_sverdlov_advisor
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_mikhail_frunze_advisor
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_sergey_syrtsov_advisor
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_sergey_medvedev_advisor
				set_country_flag = RUS_maximalist_bolshevik_alliance
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_ban_bolsheviks_tt
				if = {
					limit = { RUS_irina_kakhovskaya = { is_hired_as_advisor = no } }
					custom_effect_tooltip = RUS_ban_bolsheviks_tt
					effect_tooltip = {
						add_political_power = 100
					}
				}
				else = {
					add_political_power = 100
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_land_socialisation
		icon = GFX_focus_SOV_breadbasket_of_the_union
		cost = 6

		relative_position_id = RUS_rebuild_the_party
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_rebuild_the_party
		}
		available = {
			RUS_PLSR = yes
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				RUS_has_antisoc_resistance = yes
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_land_socialisation"
			country_event = { id = russia_socialist_events.64 days = 15 }  #New Russian Peasant
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_land_socialisation"
			RUS_decrease_antisoc_resistance = yes
			custom_effect_tooltip = tooltip_white_line
			country_event = russia_socialist_events.124
			custom_effect_tooltip = tooltip_event_allows_choice
			custom_effect_tooltip = tooltip_event_choice_option_1
			event_option_tooltip = russia_socialist_events.124.a
			custom_effect_tooltip = tooltip_event_choice_option_2
			event_option_tooltip = russia_socialist_events.124.b
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_peasant_collectives
		icon = GFX_focus_generic_agriculture
		cost = 5

		relative_position_id = RUS_rebuild_the_party
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_rebuild_the_party
		}
		ai_will_do = { factor = 15 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_peasant_collectives"
			if = {
				limit = { RUS_VST_left = yes }
				country_event = { id = russia_socialist_events.63 days = 10 } #Economy of Free Association
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_peasant_collectives"
			if = {
				limit = { RUS_has_black_monday = yes }
				RUS_decrease_black_monday = yes
				custom_effect_tooltip = tooltip_white_line
			}
			add_ideas = RUS_peasant_collectives_idea
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = RUS_peasant_collectives
				bonus = 1.0
				uses = 1
				category = industry
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_andrey_kolegayev = { is_hired_as_advisor = no }
				}
				custom_effect_tooltip = RUS_peasant_collectives_tt
				effect_tooltip = {
					add_stability = 0.05
				}
			}
			else = {
				add_stability = 0.05
			}
			if = {
				limit = {
					RUS_is_spiridonist = yes
					RUS_ilya_mayorov = { is_hired_as_advisor = no }
				}
				custom_effect_tooltip = RUS_peasant_collectives_tt_2
				effect_tooltip = {
					set_temp_variable = { RUS_spiridonist_influence_change = 8 }
					RUS_add_faith = yes
				}
			}
			else_if = {
				limit = {
					RUS_is_spiridonist = yes
					RUS_ilya_mayorov = { is_hired_as_advisor = yes }
				}
				set_temp_variable = { RUS_spiridonist_influence_change = 8 }
				RUS_add_faith = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_russian_socialism
		icon = GFX_goal_RUS_true_russian_socialism
		cost = 6

		relative_position_id = RUS_radsocs
		x = 0
		y = 3

		prerequisite = {
			focus = RUS_ban_bolsheviks
		}
		prerequisite = {
			focus = RUS_peasant_collectives
		}
		prerequisite = {
			focus = RUS_land_socialisation
		}
		ai_will_do = { factor = 1000 }
		available = {
			if = {
				limit = { RUS_is_maximalist = yes }
				RUS_aleksey_ustinov = { is_second_in_command = yes }
			}
			else_if = {
				limit = { RUS_is_spiridonist = yes }
				custom_override_tooltip = {
					tooltip = RUS_psr_conference_tt
					OR = {
						has_country_flag = RUS_zdobnov_victory
						has_country_flag = RUS_kamkov_victory
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = RUS_rebuild_the_party
					has_country_flag = RUS_maximalist_failstate
				}
				custom_override_tooltip = {
					tooltip = RUS_maximalist_failstate
					NOT = { has_country_flag = RUS_maximalist_failstate }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_russian_socialism"
			if = {
				limit = {
					has_country_flag = RUS_zdobnov_victory
				}
				add_country_leader_trait = RUS_heart_of_the_revolution_trait
			}
			if = {
				limit = {
					has_country_flag = RUS_kamkov_victory
				}
				add_country_leader_trait = RUS_romantic_revolutionary_trait
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = RUS_zdobnov_victory
						has_country_flag = RUS_kamkov_victory
					}
					RUS_is_maximalist = no
				}
				custom_effect_tooltip = RUS_true_socialism_spiridonova_trait_tt
				effect_tooltip = {
					add_country_leader_trait = RUS_heart_of_the_revolution_trait
					add_country_leader_trait = RUS_romantic_revolutionary_trait
				}
			}
			if = {
				limit = {
					RUS_is_maximalist = yes
					RUS_aleksey_ustinov = { is_second_in_command = yes }
				}
				RUS_aleksey_ustinov = {
					custom_override_tooltip = {
						tooltip = {
							localization_key = tooltip_modify_character_trait
							ROLE = second_in_command TRAIT = KR_socialist_maximalist_sic
						}
						remove_trait = { #removed due to order of display
							character = RUS_aleksey_ustinov
							slot = second_in_command
							trait = KR_maximalist_ustinov
						}
						remove_trait = {
							character = RUS_aleksey_ustinov
							slot = second_in_command
							trait = KR_socialist_maximalist_sic
						}
						add_trait = {
							character = RUS_aleksey_ustinov
							slot = second_in_command
							trait = KR_socialist_maximalist_sic_2
						}
						add_trait = { #readded so it's in the right order of display
							character = RUS_aleksey_ustinov
							slot = second_in_command
							trait = KR_maximalist_ustinov
						}
					}
					effect_tooltip = {
						set_temp_variable = { modifier_change_tt = 0.10 tooltip = stability_factor_tooltip }
						set_temp_variable = { modifier_change_tt = 0.05 tooltip = army_attack_factor_tooltip }
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_second_stage_of_revolution
		icon = GFX_goal_generic_revolutionary_government
		cost = 2

		available = {
			NOT = { country_exists = GER }
		}

		relative_position_id = RUS_russian_socialism
		x = 0
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_second_stage_of_revolution"
			RUS_decrease_antisoc_resistance = yes
			add_political_power = 100
			country_event = russia_socialist_events.168
		}
	}

	focus = {
		id = RUS_uncompromised_idealism
		icon = GFX_focus_spr_class_war
		cost = 1

		available = {
			has_country_leader = { character = RUS_boris_kamkov }
		}

		prerequisite = { focus = RUS_second_stage_of_revolution }

		mutually_exclusive = { focus = RUS_steady_as_she_goes }

		relative_position_id = RUS_second_stage_of_revolution
		x = 2
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_uncompromised_idealism"
			RUS_decrease_antisoc_resistance = yes
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.2
			}
		}
	}

	focus = {
		id = RUS_dismantle_crystals_of_power
		icon = GFX_focus_generic_workers
		cost = 2

		prerequisite = { focus = RUS_uncompromised_idealism }

		relative_position_id = RUS_uncompromised_idealism
		x = -1
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_dismantle_crystals_of_power"
			RUS_decrease_antisoc_resistance = yes
			country_event = russia_socialist_events.174
			set_temp_variable = { coalition_partner_var = token:totalist }
			remove_from_coalition = yes
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = -0.5
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.5
			}
			add_popularity = {
				ideology = national_populist
				popularity = -0.5
			}
			add_popularity = {
				ideology = totalist
				popularity = -0.5
			}
		}
	}

	focus = {
		id = RUS_an_end_to_enmity
		icon = GFX_goal_IRE_the_red_trinity
		cost = 2

		prerequisite = { focus = RUS_uncompromised_idealism }

		relative_position_id = RUS_uncompromised_idealism
		x = 1
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_an_end_to_enmity"
			RUS_decrease_antisoc_resistance = yes
			add_popularity = {
				ideology = syndicalist
				popularity = -0.15
			}
			country_event = russia_socialist_events.175
			hidden_effect = {
				country_event = { id = russia_flavour_events.185 days = 15 random_days = 5 }
			}
		}
	}

	focus = {
		id = RUS_a_revolutionist_by_love
		icon = GFX_goal_RUS_values_of_february
		cost = 2

		prerequisite = { focus = RUS_uncompromised_idealism }

		relative_position_id = RUS_uncompromised_idealism
		x = 0
		y = 2

		available = {
			custom_override_tooltip = {
				tooltip = RUS_shepherd_nations_tt
				NOT = { any_enemy_country = { is_actual_major = yes } }
			}
		}

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_a_revolutionist_by_love"
			RUS_decrease_antisoc_resistance = yes
			country_event = russia_socialist_events.176
		}
	}

	focus = {
		id = RUS_steady_as_she_goes
		icon = GFX_Socialist_Law
		cost = 1

		prerequisite = { focus = RUS_second_stage_of_revolution }

		available = {
			has_country_leader = { character = RUS_nikolay_zdobnov }
		}

		mutually_exclusive = { focus = RUS_uncompromised_idealism }

		relative_position_id = RUS_second_stage_of_revolution
		x = -2
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_steady_as_she_goes"
			RUS_decrease_antisoc_resistance = yes
			add_popularity = {
				ideology = social_democrat
				popularity = 0.1
			}
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.1
			}
			add_popularity = {
				ideology = syndicalist
				popularity = 0.1
			}
		}
	}

	focus = {
		id = RUS_democracy_of_one_dream
		icon = GFX_ITA_syndicalist_unite
		cost = 2

		prerequisite = { focus = RUS_steady_as_she_goes }

		relative_position_id = RUS_steady_as_she_goes
		x = -1
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democracy_of_one_dream"
			RUS_decrease_antisoc_resistance = yes
			country_event = russia_socialist_events.169
			hidden_effect = { country_event = { id = russia_flavour_events.185 days = 15 random_days = 5 }}
			set_temp_variable = { coalition_partner_var = token:totalist }
			remove_from_coalition = yes
			add_popularity = {
				ideology = syndicalist
				popularity = 0.1
			}
			add_popularity = {
				ideology = totalist
				popularity = -0.1
			}
		}
	}

	focus = {
		id = RUS_mercy_for_the_damned
		icon = GFX_goal_red_star_dove
		cost = 2

		prerequisite = { focus = RUS_steady_as_she_goes }

		relative_position_id = RUS_steady_as_she_goes
		x = 1
		y = 1

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mercy_for_the_damned"
			RUS_decrease_antisoc_resistance = yes
			country_event = russia_socialist_events.170
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.1
			}
			add_popularity = {
				ideology = social_democrat
				popularity = 0.05
			}
			add_popularity = {
				ideology = social_liberal
				popularity = 0.05
			}
			add_popularity = {
				ideology = market_liberal
				popularity = 0.05
			}
			add_popularity = {
				ideology = social_conservative
				popularity = 0.05
			}
		}
	}

	focus = {
		id = RUS_a_revolutionist_by_compassion
		icon = GFX_goal_RUS_rebuild_eser_party
		cost = 2

		prerequisite = { focus = RUS_steady_as_she_goes }

		relative_position_id = RUS_steady_as_she_goes
		x = 0
		y = 2

		available = {
			custom_override_tooltip = {
				tooltip = RUS_shepherd_nations_tt
				NOT = { any_enemy_country = { is_actual_major = yes } }
			}
		}

		ai_will_do = { factor = 100 }

		allow_branch = {
			RUS_is_spiridonist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_a_revolutionist_by_compassion"
			RUS_decrease_antisoc_resistance = yes
			country_event = russia_socialist_events.177
		}
	}

	focus = {
		id = RUS_ascendance_of_the_cult_of_action
		icon = GFX_goal_generic_revolutionary_government
		cost = 2

		available = {
			NOT = { country_exists = GER }
			has_government = totalist
		}

		relative_position_id = RUS_russian_socialism
		x = 0
		y = 1

		ai_will_do = { factor = 5000 }

		allow_branch = {
			RUS_is_maximalist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ascendance_of_the_cult_of_action"
			RUS_decrease_antisoc_resistance = yes
			add_political_power = 100
			country_event = russia_socialist_events.143
		}
	}

	focus = {
		id = RUS_mantle_of_the_srs
		icon = GFX_goal_conspiracy
		cost = 2

		prerequisite = { focus = RUS_ascendance_of_the_cult_of_action }

		relative_position_id = RUS_ascendance_of_the_cult_of_action
		x = 0
		y = 1

		ai_will_do = { factor = 5000 }

		allow_branch = {
			RUS_is_maximalist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mantle_of_the_srs"
			set_temp_variable = { coalition_partner_var = token:radical_socialist }
			remove_from_coalition = yes
			RUS_decrease_antisoc_resistance = yes
			retire_character = RUS_vladimir_karelin
			retire_character = RUS_boris_kamkov
			retire_character = RUS_aleksandr_elyashevich
			retire_character = RUS_ilya_mayorov
			retire_character = RUS_isaak_steinberg
			custom_effect_tooltip = tooltip_white_line
			add_country_leader_trait = RUS_integral_socialist
			custom_effect_tooltip = tooltip_white_line
			RUS_andrey_kolegayev = {
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_modify_character_trait
						ROLE = second_in_command TRAIT = KR_peasant_populist
					}
					remove_trait = {
						character = RUS_andrey_kolegayev
						slot = second_in_command
						trait = KR_peasant_populist
					}
					add_trait = {
						character = RUS_andrey_kolegayev
						slot = second_in_command
						trait = KR_peasant_populist_2
					}
				}
				effect_tooltip = {
					set_temp_variable = { modifier_change_tt = 0.10 tooltip = production_speed_buildings_factor_tooltip }
					set_temp_variable = { modifier_change_tt = 0.05 tooltip = production_factory_start_efficiency_factor_tooltip }
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_last_narodniks_trait_tt
			hidden_effect = {
				add_trait = {
					character = RUS_irina_kakhovskaya
					slot = political_advisor
					trait = RUS_last_narodniks_kakhovskaya
				}
				add_trait = {
					character = RUS_yakov_blyumkin
					slot = political_advisor
					trait = RUS_last_narodniks_blyumkin
				}
				add_trait = {
					character = RUS_yevgeny_sattel
					slot = political_advisor
					trait = RUS_last_narodniks_sattel
				}
				add_trait = {
					character = RUS_andrey_kolegayev
					slot = second_in_command
					trait = RUS_last_narodniks_kolegayev
				}
				add_trait = {
					character = RUS_ivan_gronsky
					slot = second_in_command
					trait = RUS_last_narodniks_gronsky
				}
			}
		}
	}

	focus = {
		id = RUS_the_maximalist_constitution
		icon = GFX_goal_big_news
		cost = 4

		prerequisite = { focus = RUS_mantle_of_the_srs }

		relative_position_id = RUS_mantle_of_the_srs
		x = 0
		y = 1

		ai_will_do = { factor = 5000 }

		allow_branch = {
			RUS_is_maximalist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_the_maximalist_constitution"
			RUS_decrease_antisoc_resistance = yes
			hidden_effect = {
				if = {
					limit = {
						has_completed_focus = RUS_a_steady_end_to_partisanship
						has_completed_focus = RUS_cast_out_western_agents
					}
					RUS_aleksey_ustinov = {
						unit_leader_event = { id = russia_socialist_events.180 days = 5 }
					}
				}
			}
			country_event = russia_socialist_events.147
			custom_effect_tooltip = tooltip_white_line
			set_cosmetic_tag = RUS_maximalist
			custom_effect_tooltip = RUS_maximalist_flag_tt
			custom_effect_tooltip = tooltip_white_line
			add_popularity = {
				ideology = totalist
				popularity = 0.1
			}
			RUS_decrease_factionalism = yes
			custom_effect_tooltip = RUS_turn_puppets_totalist_tt
			hidden_effect = {
				every_country = {
					limit = {
						is_subject_of = RUS
						is_ai = yes
						NOT = { has_government = totalist }
					}
					set_politics = {
						ruling_party = totalist
						elections_allowed = no
					}
				}
			}
		}
	}

	focus = {
		id = RUS_cast_out_western_agents
		icon = GFX_goal_generic_crush_syndicalists
		cost = 4

		prerequisite = { focus = RUS_mantle_of_the_srs }

		relative_position_id = RUS_mantle_of_the_srs
		x = -2
		y = 1

		ai_will_do = { factor = 5000 }

		allow_branch = {
			RUS_is_maximalist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_cast_out_western_agents"
			RUS_decrease_antisoc_resistance = yes
			hidden_effect = {
				if = {
					limit = {
						has_completed_focus = RUS_the_maximalist_constitution
						has_completed_focus = RUS_a_steady_end_to_partisanship
					}
					RUS_aleksey_ustinov = {
						unit_leader_event = { id = russia_socialist_events.180 days = 5 }
					}
				}
			}
			country_event = russia_socialist_events.144
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				RUS_vladimir_levitsky = { kill_character = yes }
				RUS_daniil_sulimov = { kill_character = yes }
				RUS_gergard_zeller = { kill_character = yes }
				RUS_rafail_abramovich = { kill_character = yes }
				RUS_sergey_kirov = { kill_character = yes }
				RUS_grigory_maksimov = { kill_character = yes }
				RUS_sergey_syrtsov = { kill_character = yes }
				RUS_vladimir_shatov = { kill_character = yes }
				RUS_stanislav_strumilin = { kill_character = yes }
				RUS_aleksandr_shlyapnikov = { kill_character = yes }
				RUS_aleksandr_finn_yenotayevsky = { kill_character = yes }
				RUS_aleksandra_kollontay = { kill_character = yes }
				RUS_mikhail_tomsky = { kill_character = yes }
				RUS_lev_kamenev = { kill_character = yes }
				RUS_grigory_zinovyev = { kill_character = yes }
				RUS_sergey_medvedev = { kill_character = yes }
				RUS_yakov_sverdlov = { kill_character = yes }
				RUS_mikhail_frunze = { kill_character = yes }
			}
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_factionalism = yes
		}
	}

	focus = {
		id = RUS_a_steady_end_to_partisanship
		icon = GFX_focus_LAT_suspend_constitution_of_latvia
		cost = 4

		prerequisite = { focus = RUS_mantle_of_the_srs }

		relative_position_id = RUS_mantle_of_the_srs
		x = 2
		y = 1

		ai_will_do = { factor = 5000 }

		allow_branch = {
			RUS_is_maximalist = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_a_steady_end_to_partisanship"
			RUS_decrease_antisoc_resistance = yes
			hidden_effect = {
				country_event = { id = russia_flavour_events.185 days = 15 random_days = 5 }
				if = {
					limit = {
						has_completed_focus = RUS_the_maximalist_constitution
						has_completed_focus = RUS_cast_out_western_agents
					}
					RUS_aleksey_ustinov = {
						unit_leader_event = { id = russia_socialist_events.180 days = 5 }
					}
				}
			}
			country_event = russia_socialist_events.142
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				set_party_name = {
					ideology = totalist
					long_name = RUS_totalist4_party_long_tt
					name = RUS_totalist4_party
				}
			}
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_factionalism = yes
		}
	}

	focus = {
		id = RUS_embolden_the_revolutionary_spirit
		icon = {
			trigger = { RUS_is_maximalist = no }
			value = GFX_goal_generic_revolutionary_government
		}
		icon = {
			trigger = { RUS_is_maximalist = yes }
			value = GFX_goal_ideology_totalist
		}
		cost = 3

		relative_position_id = RUS_radsocs
		x = -4
		y = 2

		dynamic = yes

		prerequisite = {
			focus = RUS_rebuild_the_party
		}
		ai_will_do = { factor = 30 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_embolden_the_revolutionary_spirit"
			add_popularity = {
				ideology = totalist
				popularity = 0.05
			}
			if = {
				limit = {
					RUS_is_spiridonist = yes
					RUS_irina_kakhovskaya = { is_hired_as_advisor = no }
				}
				add_timed_idea = {
					idea = RUS_revolutionary_vigilance
					days = 365
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_against_internal_enemies_tt
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_andrey_kolegayev_advisor
			}
			else_if = {
				limit = {
					RUS_is_spiridonist = yes
					RUS_irina_kakhovskaya = { is_hired_as_advisor = yes }
				}
				add_timed_idea = {
					idea = RUS_revolutionary_vigilance_2
					days = 365
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_andrey_kolegayev_advisor
			}
			if = {
				limit = { RUS_is_maximalist = yes }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_andrey_kolegayev_advisor
			}
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
			if = {
				limit = {
					check_variable = { RUS_spiridonist_focuses > 0 }
				}
				add_to_variable = { RUS_spiridonist_focuses = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_universal_labour_service
		icon = GFX_goal_workers_for_business
		cost = 6

		relative_position_id = RUS_embolden_the_revolutionary_spirit
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_embolden_the_revolutionary_spirit
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_universal_labour_service"
			if = {
				limit = {
					NOT = {
						has_country_flag = RUS_universal_labour_service_buff
					}
				}
				add_ideas = RUS_dignity_of_labour
			}
			if = {
				limit = {
					has_country_flag = RUS_universal_labour_service_buff
				}
				add_ideas = RUS_dignity_of_labour_2
				clr_country_flag = RUS_universal_labour_service_buff
			}
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
			if = {
				limit = {
					check_variable = { RUS_spiridonist_focuses > 0 }
				}
				add_to_variable = { RUS_spiridonist_focuses = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_empower_the_soviets
		icon = GFX_goal_generic_war_with_comintern
		cost = 5

		relative_position_id = RUS_universal_labour_service
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_universal_labour_service
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_empower_the_soviets"
			219 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = industrial_complex level = 2 }
			}
			195 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = { type = arms_factory level = 2 }
				add_building_construction = { type = industrial_complex level = 1 }
			}
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
			if = {
				limit = {
					check_variable = { RUS_spiridonist_focuses > 0 }
				}
				add_to_variable = { RUS_spiridonist_focuses = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_great_labour_republic
		icon = GFX_focus_SOV_builder_of_the_red_army
		cost = 6

		relative_position_id = RUS_embolden_the_revolutionary_spirit
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_embolden_the_revolutionary_spirit
		}
		ai_will_do = { factor = 25 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_great_labour_republic"
			swap_ideas = {
				remove_idea = RUS_workers_control
				add_idea = RUS_workers_control_2
			}
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
			if = {
				limit = {
					check_variable = { RUS_spiridonist_focuses > 0 }
				}
				add_to_variable = { RUS_spiridonist_focuses = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_integral_socialism
		icon = GFX_focus_SOV_organization_centralization_discipline
		cost = 6

		relative_position_id = RUS_embolden_the_revolutionary_spirit
		x = -1
		y = 2

		prerequisite = {
			focus = RUS_universal_labour_service
		}
		prerequisite = {
			focus = RUS_denounce_bourgeois_tendencies
		}
		prerequisite = {
			focus = RUS_great_labour_republic
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_integral_socialism"
			custom_effect_tooltip = RUS_integral_socialism_tt
			set_temp_variable = { RUS_integral_socialism_stab = ROOT.party_popularity@totalist }
			divide_temp_variable = { RUS_integral_socialism_stab = 4 }
			add_stability = RUS_integral_socialism_stab
			set_temp_variable = { RUS_PP_increase = party_popularity_100@totalist }
			multiply_temp_variable = { RUS_PP_increase = 1.5 }
			add_political_power = RUS_PP_increase
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
			if = {
				limit = {
					check_variable = { RUS_spiridonist_focuses > 0 }
				}
				add_to_variable = { RUS_spiridonist_focuses = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_dictatorship_of_the_peasantry
		icon = GFX_goal_RUS_maximalist #GFX_focus_prc_agrarian_socialism
		cost = 6

		relative_position_id = RUS_embolden_the_revolutionary_spirit
		x = 1
		y = 2

		prerequisite = {
			focus = RUS_denounce_bourgeois_tendencies
		}
		prerequisite = {
			focus = RUS_great_labour_republic
		}
		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_dictatorship_of_the_peasantry"
			add_popularity = {
				ideology = totalist
				popularity = 0.1
			}
			if = {
				limit = { RUS_is_spiridonist = yes }
				swap_ideas = {
					remove_idea = RUS_workers_control_2
					add_idea = RUS_workers_control_3_spiridonist
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_workers_control_2
					add_idea = RUS_workers_control_3_maximalist
				}
			}
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
			if = {
				limit = {
					check_variable = { RUS_spiridonist_focuses > 0 }
				}
				add_to_variable = { RUS_spiridonist_focuses = -1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_triumph_of_the_idea
		icon = GFX_goal_RUS_socialist_lone_warrior
		cost = 6

		relative_position_id = RUS_embolden_the_revolutionary_spirit
		x = 0
		y = 3

		prerequisite = {
			focus = RUS_integral_socialism
		}
		prerequisite = {
			focus = RUS_dictatorship_of_the_peasantry
		}
		ai_will_do = { factor = 15 }
		available = {
			if = {
				limit = {
					OR = {
						RUS_is_maximalist = yes
						RUS_is_spiridonist = yes
					}
				}
				RUS_is_maximalist = yes
			}
			else_if = {
				limit = {
					has_completed_focus = RUS_rebuild_the_party
					has_country_flag = RUS_maximalist_failstate
				}
				custom_override_tooltip = {
					tooltip = RUS_maximalist_failstate
					NOT = { has_country_flag = RUS_maximalist_failstate }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_triumph_of_the_idea"
			add_political_power = 100
			if = {
				limit = { NOT = { has_war_with = GER } }
				custom_effect_tooltip = RUS_if_triumph_of_idea_tt
				effect_tooltip = { add_ideas = RUS_sacred_war }
			}
			else = { add_ideas = RUS_sacred_war }
			RUS_maximalist_bonuses = yes
			add_to_variable = { RUS_maximalist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_denounce_bourgeois_tendencies
		icon = GFX_goal_authority
		cost = 5

		relative_position_id = RUS_embolden_the_revolutionary_spirit
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_embolden_the_revolutionary_spirit
		}
		ai_will_do = {
			factor = 45
			modifier = {
				factor = 0
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_denounce_bourgeois_tendencies"
			if = {
				limit = { RUS_is_maximalist = no }
				if = {
					limit = {
						check_variable = { RUS_spiridonist_focuses > 0 }
					}
					add_to_variable = { RUS_spiridonist_focuses = -1 }
				}
				custom_effect_tooltip = RUS_denounce_bourgeois_tendencies_spiridonist_tt
				add_popularity = {
					ideology = radical_socialist
					popularity = -0.05
				}
				add_popularity = {
					ideology = syndicalist
					popularity = 0.1
				}
				add_popularity = {
					ideology = totalist
					popularity = 0.05
				}
				set_variable = { RUS.coalition_stability = 0.75 }
				if = {
					limit = {
						has_country_flag = RUS_sds_agree
					}
					custom_effect_tooltip = tooltip_white_line
					custom_effect_tooltip = RUS_sds_betrayal_tt
					add_stability = -0.05
				}
			}
			else = {
				add_stability = -0.05
				hidden_effect = {
					activate_targeted_decision = { target = THIS decision = RUS_promote_maximalist_news_outlets }
					activate_targeted_decision = { target = THIS decision = RUS_sway_peoples_militia }
					activate_targeted_decision = { target = THIS decision = RUS_disappear_political_opponents }
				}
				custom_effect_tooltip = RUS_promote_maximalist_news_outlets_tt
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_sway_peoples_militia_tt
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_disappear_political_opponents_tt
				custom_effect_tooltip = tooltip_white_line
				RUS_maximalist_bonuses = yes
				add_to_variable = { RUS_maximalist_focuses = 1 }
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.386 days = 260 } #Against the Anti-Social Intelligentsia
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_our_commitments_to_democracy
		icon = GFX_goal_ideology_radical_socialist
		cost = 3

		relative_position_id = RUS_radsocs
		x = 4
		y = 2

		prerequisite = {
			focus = RUS_rebuild_the_party
		}

		dynamic = yes

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_siberian_direction
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_our_commitments_to_democracy"
			if = {
				limit = {
					RUS_is_spiridonist = yes
					NOT = {
						count_triggers = {
							amount = 2
							RUS_aleksandr_finn_yenotayevsky = { is_hired_as_advisor = yes }
							RUS_rafail_abramovich = { is_hired_as_advisor = yes }
							RUS_sergey_kirov = { is_hired_as_advisor = yes }
						}
					}
				}
				add_popularity = {
					ideology = radical_socialist
					popularity = 0.05
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_our_commitments_democracy_spiridonist_tt
				effect_tooltip = {
					add_popularity = {
						ideology = radical_socialist
						popularity = 0.1
					}
				}
			}
			else_if = {
				limit = {
					RUS_is_spiridonist = yes
					count_triggers = {
						amount = 2
						RUS_aleksandr_finn_yenotayevsky = { is_hired_as_advisor = yes }
						RUS_rafail_abramovich = { is_hired_as_advisor = yes }
						RUS_sergey_kirov = { is_hired_as_advisor = yes }
					}
				}
				add_popularity = {
					ideology = radical_socialist
					popularity = 0.15
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_vladimir_karelin_advisor
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
			hidden_effect = {
				if = {
					limit = { RUS_is_spiridonist = yes }
					country_event = { id = russia_socialist_events.187 days = 100 random_days = 100 }
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_negotiate_with_the_faithful
		icon = GFX_goal_generic_soft_anticlericalism
		cost = 5

		relative_position_id = RUS_our_commitments_to_democracy
		x = 2
		y = 1
		prerequisite = {
			focus = RUS_our_commitments_to_democracy
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_stability < 0.5
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_negotiate_with_the_faithful"
			country_event = russia_socialist_events.110
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_negotiate_with_the_faithful_tt
			effect_tooltip = {
				add_ideas = RUS_concordance_with_the_church
				if = {
					limit = { RUS_is_spiridonist = yes }
					set_temp_variable = { RUS_spiridonist_influence_change = 5 }
					RUS_add_faith = yes
				}
				if = {
					limit = { RUS_is_maximalist = yes }
					set_temp_variable = { RUS_maximalist_suspicion_change = -3 }
					RUS_maximalist_suspicion = yes
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_negotiate_with_the_faithful_tt2
			effect_tooltip = {
				add_ideas = RUS_concordance_with_the_church_alt
				if = {
					limit = { RUS_is_spiridonist = yes }
					set_temp_variable = { RUS_spiridonist_influence_change = -7 }
					RUS_add_faith = yes
				}
				if = {
					limit = { RUS_is_maximalist = yes }
					set_temp_variable = { RUS_maximalist_influence_change = 3 }
					RUS_maximalist_influence = yes
					RUS_change_maximalist_influence_spirit = yes
					set_temp_variable = { RUS_maximalist_suspicion_change = 2 }
					RUS_maximalist_suspicion = yes
				}
			}
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_socialist_education_in_the_countryside
		icon = GFX_goal_KTG_Educate_natives
		cost = 6

		relative_position_id = RUS_negotiate_with_the_faithful
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_negotiate_with_the_faithful
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_socialist_education_in_the_countryside"
			if = {
				limit = {
					has_active_mission = RUS_complete_the_tambov_experiment
					NOT = {
						AND = {
							has_country_flag = RUS_completed_incentivise_creation_of_rural_enterprises
							has_country_flag = RUS_completed_modernisation_of_agricultural_communes
							has_country_flag = RUS_completed_mordva_autonomies
							has_country_flag = RUS_completed_peoples_militia_reform
						}
					}
				}
				add_days_mission_timeout = {
					mission = RUS_complete_the_tambov_experiment
					days = 30
				}
			}
			add_timed_idea = {
				idea = RUS_socialist_education
				days = 365
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_socialist_education_tt
			hidden_effect = {
				add_temporary_research_slot = yes
			}
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_triumph_of_solidarity
		icon = GFX_goal_generic_solidarity
		cost = 6

		relative_position_id = RUS_our_commitments_to_democracy
		x = 0
		y = 3
		prerequisite = {
			focus = RUS_future_for_the_rural_regions
		}
		prerequisite = {
			focus = RUS_create_the_democratic_bloc
		}
		prerequisite = {
			focus = RUS_socialist_education_in_the_countryside
		}
		available = {
			if = {
				limit = {
					OR = {
						RUS_is_maximalist = yes
						RUS_is_spiridonist = yes
					}
				}
				RUS_is_spiridonist = yes
			}
			else_if = {
				limit = {
					has_completed_focus = RUS_rebuild_the_party
					has_country_flag = RUS_maximalist_failstate
				}
				custom_override_tooltip = {
					tooltip = RUS_maximalist_failstate
					NOT = { has_country_flag = RUS_maximalist_failstate }
				}
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_triumph_of_solidarity"
			custom_effect_tooltip = RUS_triumph_of_solidarity_tt
			set_temp_variable = { RUS_PP_increase = RUS_faith }
			multiply_temp_variable = { RUS_PP_increase = 2 }
			add_political_power = RUS_PP_increase
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { NOT = { has_war_with = GER } }
				custom_effect_tooltip = RUS_if_triumph_of_idea_tt
				effect_tooltip = { add_ideas = RUS_sacred_war }
			}
			else = { add_ideas = RUS_sacred_war }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_union_of_peasants_and_workers
		icon = GFX_goal_RUS_union_of_peasants_and_workers
		cost = 6

		relative_position_id = RUS_our_commitments_to_democracy
		x = 0
		y = 1
		prerequisite = { focus = RUS_our_commitments_to_democracy }

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_stability < 0.5
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_union_of_peasants_and_workers"
			add_ideas = RUS_peasant_worker_unity
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_reforming_the_weapons_of_state
		icon = GFX_goal_secret_agents
		cost = 6

		relative_position_id = RUS_our_commitments_to_democracy
		x = -1
		y = 2
		prerequisite = { focus = RUS_our_commitments_to_democracy }

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_complete_the_tambov_experiment
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_reforming_the_weapons_of_state"
			if = {
				limit = {
					has_active_mission = RUS_complete_the_tambov_experiment
					NOT = {
						AND = {
							has_country_flag = RUS_completed_incentivise_creation_of_rural_enterprises
							has_country_flag = RUS_completed_modernisation_of_agricultural_communes
							has_country_flag = RUS_completed_mordva_autonomies
							has_country_flag = RUS_completed_peoples_militia_reform
						}
					}
				}
				add_days_mission_timeout = {
					mission = RUS_complete_the_tambov_experiment
					days = 30
				}
			}
			if = {
				limit = { has_idea = RUS_vgpu_idea }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea
					add_idea = RUS_vgpu_idea_2
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_3 }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_3
					add_idea = RUS_vgpu_idea_4
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_lar }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_lar
					add_idea = RUS_vgpu_idea_lar_2
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_lar_3 }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_lar
					add_idea = RUS_vgpu_idea_lar_4
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = RUS_vgpu_idea_lar
						add_idea = RUS_vgpu_idea_lar_2
					}
				}
			}
			if = {
				limit = {
					RUS_is_spiridonist = yes
					NOT = { has_country_flag = RUS_sds_agree }
				}
				add_popularity = {
					ideology = totalist
					popularity = -0.05
				}
			}
			else_if = {
				limit = {
					RUS_is_spiridonist = yes
					has_country_flag = RUS_sds_agree
				}
				add_stability = 0.05
				add_popularity = {
					ideology = totalist
					popularity = -0.1
				}
			}
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_create_the_democratic_bloc
		icon = GFX_goal_Fight_for_Freedom
		cost = 6

		relative_position_id = RUS_union_of_peasants_and_workers
		x = -2
		y = 0
		prerequisite = { focus = RUS_our_commitments_to_democracy }

		dynamic = yes

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_create_the_democratic_bloc"
			if = {
				limit = {
					RUS_is_spiridonist = yes
				}
				add_popularity = {
					ideology = totalist
					popularity = -0.04
				}
				custom_effect_tooltip = RUS_create_the_democratic_bloc_tt
				custom_effect_tooltip = tooltip_white_line
				country_event = russia_socialist_events.108
			}
			else_if = {
				limit = {
					RUS_is_maximalist = yes
					NOT = {
						RUS_yakov_sverdlov = { is_hired_as_advisor = yes }
						RUS_mikhail_frunze = { is_hired_as_advisor = yes }
						RUS_sergey_syrtsov = { is_hired_as_advisor = yes }
						RUS_sergey_medvedev = { is_hired_as_advisor = yes }
						RUS_ivan_gronsky = { is_hired_as_advisor = yes }
					}
				}
				add_political_power = 25
				add_stability = 0.075
				add_war_support = 0.075
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_finding_likeminded_allies_tt
			}
			else_if = {
				limit = {
					RUS_is_maximalist = yes
					OR = {
						RUS_yakov_sverdlov = { is_hired_as_advisor = yes }
						RUS_mikhail_frunze = { is_hired_as_advisor = yes }
						RUS_sergey_syrtsov = { is_hired_as_advisor = yes }
						RUS_sergey_medvedev = { is_hired_as_advisor = yes }
						RUS_ivan_gronsky = { is_hired_as_advisor = yes }
					}
				}
				add_political_power = 50
				add_stability = 0.15
				add_war_support = 0.15
			}
			else = {
				add_political_power = 25
				add_stability = 0.075
				add_war_support = 0.075
			}
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_future_for_the_rural_regions
		icon = GFX_focus_ARG_women_in_industry #GFX_goal_agricultural_aid
		cost = 5

		relative_position_id = RUS_our_commitments_to_democracy
		x = 1
		y = 2
		prerequisite = { focus = RUS_our_commitments_to_democracy }

		ai_will_do = {
			factor = 15
			modifier = {
				factor = 25
				has_active_mission = RUS_siberian_direction
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_complete_the_tambov_experiment
			}
			modifier = {
				factor = 3
				RUS_has_antisoc_resistance = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_future_for_the_rural_regions"
			if = {
				limit = {
					has_active_mission = RUS_siberian_direction
				}
				add_days_mission_timeout = {
					mission = RUS_siberian_direction
					days = 30
				}
			}
			custom_effect_tooltip = RUS_Rural_Development_tt
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = 214 decision = RUS_Rural_Development } #Archangelsk
			activate_targeted_decision = { target = 220 decision = RUS_Rural_Development } #Kursk
			activate_targeted_decision = { target = 253 decision = RUS_Rural_Development } #Vladimir
			activate_targeted_decision = { target = 255 decision = RUS_Rural_Development } #Penza
			activate_targeted_decision = { target = 257 decision = RUS_Rural_Development } #Tambov
			activate_targeted_decision = { target = 400 decision = RUS_Rural_Development } #Vyatka
			activate_targeted_decision = { target = 566 decision = RUS_Rural_Development } #Irkutsk
			activate_targeted_decision = { target = 570 decision = RUS_Rural_Development } #Novonikolayevsk
			RUS_decrease_maximalist_focus_variable = yes
			RUS_faith_bonuses = yes
			add_to_variable = { RUS_spiridonist_focuses = 1 }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	### VST path
	focus = {
		id = RUS_syndicalists
		icon = GFX_goal_RUS_VST
		cost = 5
		relative_position_id = RUS_russian_congress
		x = 9
		y = 1
		allow_branch = {
			OR = {
				RUS_VST = yes
				has_government = national_populist
			}
		}
		offset = {
			trigger = { RUS_VST = yes }
			x = -9
		}
		prerequisite = {
			focus = RUS_russian_congress
		}
		mutually_exclusive = {
			focus = RUS_radsocs
		}
		available = {
			RUS_VST = yes
		}
		ai_will_do = { factor = 50 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_syndicalists"
			country_event = russia_socialist_events.333
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_syndicalists"
			custom_effect_tooltip = RUS_levitsky_minigame_tt
			mark_focus_tree_layout_dirty = yes
			complete_national_focus = RUS_internationalists
			if = {
				limit = { RUS_VST_left = no }
				complete_national_focus = RUS_mensheviks
			}
			if = {
				limit = { RUS_VST_right = no }
				complete_national_focus = RUS_communists
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.384 days = 365 random_days = 365 } #Bringing Modernity to Russia
				country_event = { id = russia_socialist_events.403 days = 100 random_days = 265 } #Association for Research of Western Totalism
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_eser_deal
		icon = GFX_goal_RUS_radsocs
		cost = 3

		relative_position_id = RUS_syndicalists
		x = 0
		y = 1
		dynamic = yes
		allow_branch = {
			OR = {
				RUS_VST = yes
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = RUS_syndicalists
		}
		available = {
			RUS_VST = yes
			is_in_coalition_with_radical_socialist = yes
		}
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_eser_deal"
			add_political_power = 50
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_PSR_relation = yes
			if = {
				limit = { RUS_VST_left = yes }
				country_event = russia_socialist_events.73 #The Socialist-Revolutionary-Maximalists
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_andrey_kolegayev_advisor
				hidden_effect = {
					country_event = { id = russia_socialist_events.387 days = 365 } #Maximalist Takeover of SRs
				}
			}
			else_if = {
				limit = { check_variable = { sr_var > 1 } }
				country_event = russia_socialist_events.72 #The Kamkovites
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_boris_kamkov_advisor
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_invite_zeller
		icon = GFX_goal_generic_enforce_labor_regulation
		cost = 3

		relative_position_id = RUS_syndicalists
		x = -10
		y = 1
		allow_branch = {
			OR = {
				RUS_VST = yes
				has_government = national_populist
			}
		}

		prerequisite = {
			focus = RUS_syndicalists
		}
		available = {
			set_temp_variable = { RUS_relation_check = 4 }
			RUS_socdem_check = yes
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_kamenev_ai
					has_country_flag = RUS_zinovyev_ai
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_invite_zeller"
			if = {
				limit = { is_in_coalition_with_social_democrat = no }
				set_temp_variable = { coalition_partner_var = token:social_democrat }
				add_to_coalition = yes
			}
			set_temp_variable = { RUS_relation_change = 2 }
			RUS_SDS_relation = yes
			RUS_decrease_VST_centre_unity = yes
			add_popularity = { ideology = social_democrat popularity = 0.05 }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_gergard_zeller_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_social-narodism
		icon = GFX_goal_ANQ_rural_outreach
		cost = 5

		relative_position_id = RUS_invite_zeller
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_invite_zeller
		}
		available = {
			if = {
				limit = {
					is_ai = no
				}
				set_temp_variable = { RUS_relation_check = 6 }
				OR = {
					RUS_socdem_check = yes
					RUS_sr_check = yes
				}
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_social-narodism"
			add_ideas = RUS_legacy_of_narodism
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_SDS_relation = yes
			RUS_PSR_relation = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_RKP_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_small_business_primacy
		icon = GFX_focus_generic_industrialists
		cost = 5

		relative_position_id = RUS_invite_zeller
		x = -1
		y = 2

		prerequisite = {
			focus = RUS_social-narodism
		}
		available = {
			if = {
				limit = {
					is_ai = no
				}
				set_temp_variable = { RUS_relation_check = 5 }
				RUS_socdem_check = yes
			}
			has_completed_focus = RUS_new_russian_socialism
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_small_business_primacy"
			add_popularity = { ideology = syndicalist popularity = -0.05 }
			swap_ideas = {
				remove_idea = RUS_NEP
				add_idea = RUS_NEP_SDS
			}
			RUS_decrease_antisoc_resistance = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 3 }
			RUS_SDS_relation = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_VST_centre_relation = yes
			set_temp_variable = { RUS_relation_change = -2 }
			RUS_VST_left_relation = yes
			RUS_RKP_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_mensheviks
		icon = GFX_goal_ideology_social_democrat
		cost = 5

		relative_position_id = RUS_syndicalists
		x = -6
		y = 1

		prerequisite = {
			focus = RUS_syndicalists
		}
		available = { always = no }
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mensheviks"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_socialism_through_democracy
		icon = GFX_goal_RUS_socialist_democracy
		cost = 6

		relative_position_id = RUS_mensheviks
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_mensheviks
		}
		available = {
			OR = {
				RUS_fyodor_dan = { is_second_in_command = yes }
				RUS_rafail_abramovich = { is_second_in_command = yes }
				RUS_vladimir_shatov = { is_second_in_command = yes }
			}
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_vst_right_check = yes
			}
		}
		ai_will_do = { factor = 35 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_socialism_through_democracy"
			add_ideas = RUS_menshevik_ideals
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_right_relation = yes
			RUS_SDS_relation = yes
			add_named_threat = {
				threat = -4
				name = RUS_socialism_through_democracy
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.35 days = 180 } #Great Bolshevik Trial
				country_event = { id = russia_socialist_events.77 days = 90 } #The Consequences of Democracy
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_minorities_associations
		icon = GFX_goal_LIT_Bund
		cost = 6

		relative_position_id = RUS_mensheviks
		x = -1
		y = 2

		prerequisite = {
			focus = RUS_socialism_through_democracy
			focus = RUS_new_russian_socialism
		}
		available = {
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_vst_right_check = yes
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_minorities_associations"
			country_event = russia_socialist_events.311
			event_option_tooltip = russia_socialist_events.311.a
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_minority_associations_tt
			set_variable = { RUS_autonomy_cost = 10 }
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_right_relation = yes
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_reject_state_terror
		icon = GFX_focus_FIN_weapon_caches
		cost = 6

		relative_position_id = RUS_mensheviks
		x = -2
		y = 3

		prerequisite = {
			focus = RUS_socialism_through_democracy
		}
		available = {
			RUS_VST_right = yes
		}
		ai_will_do = { factor = 30 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_reject_state_terror"
			add_political_power = 100
			effect_tooltip = {
				swap_ruler_traits = {
					remove = KR_dream_of_democracy
					add = KR_dream_of_democracy_2
				}
			}
			hidden_effect = {
				var:country_leader = {
					set_temp_variable = { remove_trait_token = token:KR_dream_of_democracy }
					set_temp_variable = { add_trait_token = token:KR_dream_of_democracy_2 }
					swap_traits_in_all_country_leader_roles = yes
				}
			}
			if = {
				limit = { has_idea = RUS_reeducation_camps }
				remove_ideas = RUS_reeducation_camps
			}
			else_if = {
				limit = { has_idea = RUS_reeducation_camps_2 }
				remove_ideas = RUS_reeducation_camps_2
			}
			if = {
				limit = { has_idea = RUS_commissars_communist_1 }
				remove_ideas = RUS_commissars_communist_1
			}
			else_if = {
				limit = { has_idea = RUS_commissars_communist_2 }
				remove_ideas = RUS_commissars_communist_2
			}
			retire_character = RUS_yakov_blyumkin
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_SDS_relation = yes
			hidden_effect = {
				country_event = { id = russia_socialist_events.76 days = 180 } #The Consequences of Ethical Policies
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_empower_local_soviets
		icon = GFX_goal_HOL_council_communism
		cost = 6

		relative_position_id = RUS_mensheviks
		x = -3
		y = 2

		prerequisite = {
			focus = RUS_socialism_through_democracy
		}
		available = {
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 6 }
				RUS_vst_right_check = yes
			}
			any_owned_state = {
				has_dynamic_modifier = { modifier = RUS_ethnic_autonomy }
			}
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_empower_local_soviets"
			add_popularity = { ideology = social_democrat popularity = 0.05 }
			swap_ideas = {
				remove_idea = RUS_menshevik_ideals
				add_idea = RUS_menshevik_ideals_2
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { RUS_VST_centre = yes }
				set_temp_variable = { RUS_relation_change = 1 }
				RUS_VST_right_relation = yes
			}
			else = {
				set_temp_variable = { RUS_relation_change = 1 }
				RUS_VST_centre_relation = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_white_parties
		icon = GFX_goal_RUS_taurida_palace
		cost = 6

		relative_position_id = RUS_mensheviks
		x = -4
		y = 3

		prerequisite = {
			focus = RUS_empower_local_soviets
		}
		prerequisite = {
			focus = RUS_social-narodism
		}
		available = {
			has_country_leader = { character = RUS_rafail_abramovich }
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 8 }
				RUS_socdem_check = yes
				set_temp_variable = { RUS_relation_check = 7 }
				RUS_vst_centre_check = yes
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_white_parties"
			country_event = russia_socialist_events.310
			effect_tooltip = {
				set_temp_variable = { coalition_partner_var = token:social_liberal }
				add_to_coalition = yes
			}
			custom_effect_tooltip = tooltip_white_line
			hidden_effect = {
				remove_ideas = {
					RUS_legacy_of_narodism
					RUS_menshevik_ideals_2
				}
				add_ideas = RUS_proper_socialist_demoracy
			}
			effect_tooltip = {
				swap_ideas = {
					remove_idea = RUS_proper_socialist_demoracy_pre
					add_idea = RUS_proper_socialist_demoracy
				}
			}
			set_temp_variable = { RUS_relation_change = -3 }
			RUS_VST_centre_relation = yes
			RUS_VST_left_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_internationalists
		icon = GFX_goal_syndicalism
		cost = 5

		available = { always = no }
		relative_position_id = RUS_syndicalists
		x = 4
		y = 1
		prerequisite = {
			focus = RUS_syndicalists
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_internationalists"
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_new_russian_socialism
		icon = GFX_goal_generic_market_socialism
		cost = 5

		relative_position_id = RUS_mensheviks
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_mensheviks
		}
		mutually_exclusive = {
			focus = RUS_4_year_plan
		}
		available = {
			RUS_aleksandr_shlyapnikov = { is_political_advisor = no }
			RUS_sulimov = no
			RUS_VST_left = no
			custom_override_tooltip = {
				tooltip = RUS_strumilin_ministry_NOT
				NOT = { has_country_flag = RUS_strumilin_ministry }
			}
			NOT = { has_completed_focus = RUS_labour_and_defence }
		}
		ai_will_do = {
			factor = 25
			modifier = {
				factor = 0
				OR = {
					RUS_VST_left = yes
					RUS_sulimov = yes
				}
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_new_russian_socialism"
			country_event = { id = russia_socialist_events.63 days = 10 } #Economy of Free Association
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_russian_socialism"
			custom_effect_tooltip = RUS_VST_hates_this
			if = {
				limit = { RUS_VST_centre = yes }
				hidden_effect = {
					country_event = { id = russia_socialist_events.326 days = 5 } # Shlyapnikov angry
				}
			}
			swap_ideas = {
				remove_idea = RUS_workers_control
				add_idea = RUS_NEP
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_aleksandr_finn_yenotayevsky_advisor
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_antisoc_resistance = yes
			RUS_decrease_black_monday = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 3 }
			RUS_SDS_relation = yes
			RUS_decrease_VST_centre_unity = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_VST_left_relation = yes
			RUS_VST_centre_relation = yes
			mark_focus_tree_layout_dirty = yes
		}
	}

	focus = {
		id = RUS_4_year_plan
		icon = GFX_focus_SOV_merge_plants
		cost = 5

		relative_position_id = RUS_mensheviks
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_science_of_marxism
		}
		mutually_exclusive = {
			focus = RUS_new_russian_socialism
		}
		available = {
			has_completed_focus = RUS_chamber_of_unions
			custom_override_tooltip = {
				tooltip = RUS_yenotayevsky_ministry_NOT
				NOT = { has_country_flag = RUS_yenotayevsky_ministry }
			}
		}
		ai_will_do = { factor = 25 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_4_year_plan"
			country_event = { id = russia_socialist_events.62 days = 10 } #Towards Planned Economy
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_4_year_plan"
			if = {
				limit = { NOT = { has_completed_focus = RUS_planning_directory } }
				multiply_variable = { RUS_ic_cost_low = 0.66 }
				multiply_variable = { RUS_ic_cost_med = 0.66 }
				multiply_variable = { RUS_ic_cost_high = 0.66 }
				custom_effect_tooltip = RUS_first_4_year_plan_tt
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = {
					RUS_VST_left = no
					has_idea = RUS_workers_control
				}
				swap_ideas = {
					remove_idea = RUS_workers_control
					add_idea = RUS_fedplan
				}
			}
			else_if = {
				limit = { has_idea = RUS_fedplan }
				swap_ideas = {
					remove_idea = RUS_fedplan
					add_idea = RUS_fedplan_2
				}
			}
			else_if = {
				limit = {
					RUS_VST_left = yes
					has_idea = RUS_workers_control
				}
				swap_ideas = {
					remove_idea = RUS_workers_control
					add_idea = RUS_economic_planning
				}
			}
			else_if = {
				limit = {
					has_idea = RUS_economic_planning
				}
				swap_ideas = {
					remove_idea = RUS_economic_planning
					add_idea = RUS_economic_planning_2
				}
			}
			else = {
				add_one_random_civilian_factory = yes
				add_one_random_civilian_factory = yes
			}
			RUS_decrease_black_monday = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_sergey_kirov_advisor
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_VST_right_relation = yes
			RUS_SDS_relation = yes
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_arsenal_of_revolution
		icon = GFX_goal_generic_improve_industry
		cost = 5

		relative_position_id = RUS_mensheviks
		x = 1
		y = 2

		prerequisite = {
			focus = RUS_4_year_plan
			focus = RUS_new_russian_socialism
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_arsenal_of_revolution"
			subtract_from_variable = { RUS_ic_cost_low = 10 }
			subtract_from_variable = { RUS_ic_cost_med = 10 }
			custom_effect_tooltip = RUS_arsenal_of_revolution_tt
			custom_effect_tooltip = tooltip_white_line
			195 = { #Petrograd
				custom_override_tooltip = {
					add_building_construction = { type = bunker province = 6174 level = 3 }
					tooltip = {
						localization_key = tooltip_add_building_on_victory_point
						BUILDING = bunker
						NUMBER = 3
						VP = 6174
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = { type = arms_factory level = 1 }
				add_building_construction = { type = dockyard level = 2 }
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_science_of_marxism
		icon = GFX_focus_NOR_moscows_education_centers
		cost = 5

		relative_position_id = RUS_mensheviks
		x = 3
		y = 0

		prerequisite = {
			focus = RUS_syndicalists
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_science_of_marxism"
			add_ideas = RUS_machism_idea_1
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_stanislav_strumilin_advisor
			hidden_effect = { country_event = { id = russia_socialist_events.423 days = 30 } }
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_PRODUCTION FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_encourage_innovation
		icon = GFX_focus_NORDIC_com_research
		cost = 5

		relative_position_id = RUS_mensheviks
		x = 3
		y = 2

		prerequisite = {
			focus = RUS_science_of_marxism
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_encourage_innovation"
			country_event = russia_socialist_events.361
			if = {
				limit = { has_completed_focus = RUS_revolution_from_above }
				custom_effect_tooltip = RUS_sulimov_buff_tt
				add_political_power = 50
			}
			custom_effect_tooltip = tooltip_one_of_following
			effect_tooltip = {
				swap_ideas = {
					remove_idea = RUS_machism_idea_1
					add_idea = RUS_machism_idea_2
				}
				custom_effect_tooltip = tooltip_white_line
				swap_ideas = {
					remove_idea = RUS_machism_idea_1
					add_idea = RUS_machism_idea_3
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_vladimir_shatov_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_PRODUCTION FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_labour_aristocracy
		icon = GFX_GBR_fate_of_unions
		cost = 6

		relative_position_id = RUS_mensheviks
		x = 2
		y = 3

		prerequisite = {
			focus = RUS_encourage_innovation
		}
		available = {
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_vst_right_check = yes
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_labour_aristocracy"
			set_temp_variable = { ideology_change_var = 5 }
			change_ruling_party_popularity = yes
			if = {
				limit = { has_idea = RUS_machism_idea_2 }
				swap_ideas = {
					remove_idea = RUS_machism_idea_2
					add_idea = RUS_machism_idea_4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_machism_idea_3
					add_idea = RUS_machism_idea_5
				}
			}
			add_tech_bonus = {
				name = RUS_labour_aristocracy
				bonus = 0.5
				uses = 1
				category = industry
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_healthcare_reform
		icon = GFX_focus_generic_field_hostpital
		cost = 6

		relative_position_id = RUS_mensheviks
		x = 4
		y = 3

		prerequisite = {
			focus = RUS_encourage_innovation
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_healthcare_reform"
			add_timed_idea = {
				idea = RUS_financing_the_healthcare
				days = 365
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_healthcare_reform_tt
			effect_tooltip = {
				add_ideas = RUS_healthcare_for_all
				RUS_decrease_antisoc_resistance = yes
			}
			if = {
				limit = { RUS_fyodor_dan = { is_second_in_command = yes } }
				custom_effect_tooltip = tooltip_white_line
				RUS_fyodor_dan = {
					custom_override_tooltip = {
						tooltip = {
							localization_key = tooltip_replace_character_trait
							ROLE = second_in_command
							OLD_TRAIT = KR_menshevik_grandfather_sic
							NEW_TRAIT = KR_menshevik_doctor_sic
						}
						remove_trait = {
							character = RUS_fyodor_dan
							slot = second_in_command
							trait = KR_menshevik_grandfather_sic
						}
						add_trait = {
							character = RUS_fyodor_dan
							slot = second_in_command
							trait = KR_menshevik_doctor_sic
						}
					}
					effect_tooltip = {
						set_temp_variable = { modifier_change_tt = 0.05 tooltip = stability_factor_tooltip }
						set_temp_variable = { modifier_change_tt = 0.15 tooltip = monthly_population_tooltip }
						set_temp_variable = { modifier_change_tt = -0.05 tooltip = experience_loss_factor_tooltip }
					}
				}
			}
			else_if = {
				limit = {
					RUS_VST_centre = yes
					has_character = RUS_fyodor_dan
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_healthcare_reform_centre_tt
				if = {
					limit = {
						set_temp_variable = { RUS_relation_check = 6 }
						RUS_vst_right_check = yes
					}
					add_advisor_role = {
						character = RUS_fyodor_dan
						advisor = {
							slot = political_advisor
							idea_token = RUS_fyodor_dan_advisor
							desc = RUS_fyodor_dan_sic_desc
							traits = { KR_medical_expert KR_vst_right_dan }
							cost = 75
						}
					}
				}
			}
			RUS_decrease_VST_left_radicalism = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_centre_relation = yes
			RUS_VST_right_relation = yes
			RUS_VST_left_relation = yes
			RUS_PSR_relation = yes
			RUS_SDS_relation = yes
			if = {
				limit = { RUS_VST_right = no }
				RUS_RKP_relation = yes
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_social_solidarity
		icon = GFX_goal_RUS_values_of_february
		cost = 6

		relative_position_id = RUS_mensheviks
		x = 0
		y = 4

		prerequisite = {
			focus = RUS_4_year_plan
			focus = RUS_new_russian_socialism
		}
		prerequisite = {
			focus = RUS_labour_aristocracy
		}
		prerequisite = {
			focus = RUS_white_parties
		}

		available = {
			RUS_VST_right = yes
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 8 }
				RUS_vst_centre_check = yes
				RUS_socdem_check = yes
				OR = {
					has_idea = RUS_anti_socialist_resistance_1
					RUS_has_antisoc_resistance = no
				}
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_social_solidarity"
			custom_effect_tooltip = RUS_social_solidarity_tt
			custom_effect_tooltip = tooltip_white_line
			RUS_enable_mixed_faction = yes
			hidden_effect = {
				set_party_name = {
					ideology = social_democrat
					name = RUS_syndicalist2_party
					long_name = RUS_syndicalist2_party_long
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_municipalisation_of_farms
		icon = GFX_focus_generic_farmland
		cost = 5

		relative_position_id = RUS_internationalists
		x = -5
		y = 1

		prerequisite = {
			focus = RUS_mensheviks
			focus = RUS_internationalists
		}
		mutually_exclusive = {
			focus = RUS_agrarian_industrialisation
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = -5
				set_temp_variable = { RUS_relation_check < 4 }
				RUS_sr_check = yes
			}
			modifier = {
				add = 5
				set_temp_variable = { RUS_relation_check = 6 }
				RUS_sr_check = yes
			}
			modifier = {
				add = 5
				set_temp_variable = { RUS_relation_check > 6 }
				RUS_sr_check = yes
			}
		}
		available = {
			NOT = { has_completed_focus = RUS_war_on_landowners }
			custom_override_tooltip = {
				tooltip = RUS_dubrovsky_ministry_NOT
				NOT = { has_country_flag = RUS_dubrovsky_ministry }
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_municipalisation_of_farms"
			country_event = { id = russia_socialist_events.64 days = 15 }  #New Russian Peasant
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_municipalisation_of_farms"
			custom_effect_tooltip = RUS_SR_relation_focus_tt
			set_temp_variable = { RUS_PSR_stability = 0.015 }
			multiply_temp_variable = { RUS_PSR_stability = sr_var }
			add_stability = RUS_PSR_stability
			add_popularity = { ideology = radical_socialist popularity = 0.05 }
			RUS_decrease_VST_left_radicalism = yes
			RUS_decrease_antisoc_resistance = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 2 }
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_agrarian_industrialisation
		icon = GFX_goal_generic_agriculture2
		cost = 5

		relative_position_id = RUS_internationalists
		x = -3
		y = 1

		prerequisite = {
			focus = RUS_internationalists
			focus = RUS_communists
		}
		mutually_exclusive = {
			focus = RUS_municipalisation_of_farms
		}
		available = {
			OR = {
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_sr_check = yes
				RUS_VST_left = yes
			}
			custom_override_tooltip = {
				tooltip = RUS_mayorov_ministry_NOT
				NOT = { has_country_flag = RUS_mayorov_ministry }
			}
		}
		ai_will_do = { factor = 15 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_agrarian_industrialisation"
			country_event = { id = russia_socialist_events.64 days = 15 }  #New Russian Peasant
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_agrarian_industrialisation"
			if = {
				limit = { NOT = { has_country_flag = RUS_PSR_supportive } }
				add_stability = -0.05
			}
			activate_targeted_decision = { target = 401 decision = RUS_agricultural_industry_volga }
			activate_targeted_decision = { target = 245 decision = RUS_agricultural_industry_don }
			activate_targeted_decision = { target = 583 decision = RUS_agricultural_industry_siberia }
			custom_effect_tooltip = tooltip_white_line
			RUS_increase_VST_centre_unity = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			RUS_VST_centre_relation = yes
			RUS_VST_right_relation = yes
			if = {
				limit = { has_country_flag = RUS_PSR_supportive }
				custom_effect_tooltip = RUS_eser_deal_reward_tt
				set_temp_variable = { RUS_relation_change = -1 }
				RUS_PSR_relation = yes
			}
			else = {
				set_temp_variable = { RUS_relation_change = -3 }
				RUS_PSR_relation = yes
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_worker_and_peasant
		icon = GFX_focus_ITA_il_sol_dell_avvenire #GFX_goal_Workers_Paradise
		cost = 5

		relative_position_id = RUS_internationalists
		x = -4
		y = 2

		prerequisite = {
			focus = RUS_agrarian_industrialisation
			focus = RUS_municipalisation_of_farms
		}
		available = {
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_sr_check = yes
			}
			OR = {
				custom_override_tooltip = {
					tooltip = RUS_has_completed_agricultural_industry_decisions
					check_variable = { RUS_agricultural_industry_var = 3 }
				}
				has_completed_focus = RUS_municipalisation_of_farms
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_worker_and_peasant"
			custom_effect_tooltip = RUS_SR_relation_focus_tt
			set_temp_variable = { RUS_PSR_pp = sr_var }
			if = {
				limit = { has_country_flag = RUS_PSR_supportive }
				multiply_temp_variable = { RUS_PSR_pp = 16 }
			}
			else = {
				multiply_temp_variable = { RUS_PSR_pp = 12 }
			}
			add_political_power = RUS_PSR_pp
			activate_targeted_decision = { decision = RUS_favor_esers target = ROOT }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_ilya_mayorov_advisor
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_workers_coalition_dialogue
		icon = GFX_goal_generic_parliament
		cost = 5

		relative_position_id = RUS_internationalists
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_internationalists
		}
		ai_will_do = { factor = 25 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_workers_coalition_dialogue"
			if = {
				limit = { has_completed_focus = RUS_revolution_from_above }
				custom_effect_tooltip = RUS_sulimov_buff_tt
				add_political_power = 50
				add_stability = 0.1
				custom_effect_tooltip = tooltip_white_line
			}
			else = {
				add_stability = 0.05
			}
			activate_targeted_decision = { decision = RUS_favor_left target = ROOT }
			activate_targeted_decision = { decision = RUS_favor_right target = ROOT }
			RUS_decrease_VST_left_radicalism = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			RUS_VST_centre_relation = yes
			RUS_VST_right_relation = yes
			hidden_effect = {
				country_event = { id = russia_socialist_events.350 days = 60 random_days = 60 } #The Zinovyev Manifesto
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_victory_of_socialism
		icon = GFX_goal_FRA_phalanstere
		cost = 5

		relative_position_id = RUS_internationalists
		x = -2
		y = 2
		allow_branch = {
			RUS_is_demrus = no
			RUS_sulimov = no
			OR = {
				RUS_VST = yes
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = RUS_workers_coalition_dialogue
		}
		prerequisite = {
			focus = RUS_chamber_of_unions
		}
		available = {
			has_country_leader = { character = RUS_vladimir_levitsky }
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_sr_check = yes
				RUS_vst_right_check = yes
				RUS_vst_left_check = yes
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_victory_of_socialism"
			country_event = russia_socialist_events.308 #Path to the Victory of Socialism
			set_variable = { RUS.coalition_stability = 0.75 }
			custom_effect_tooltip = RUS_coalition_improvement_tt
			add_political_power = 50
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_countryside_concession
		icon = GFX_goal_agrarian_socialism
		cost = 6

		relative_position_id = RUS_internationalists
		x = -4
		y = 3

		prerequisite = {
			focus = RUS_victory_of_socialism
		}
		prerequisite = {
			focus = RUS_worker_and_peasant
		}
		available = {
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 8 }
				RUS_sr_check = yes
			}
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_countryside_concession"
			country_event = russia_socialist_events.315 # The oxymoron of Peasant Communism
			add_stability = 0.1
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_VST_centre_unity = yes
			RUS_decrease_antisoc_resistance = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_devolution_party
		icon = GFX_focus_NOR_empower_sivorg #GFX_goal_ideology_syndicalist
		cost = 6

		relative_position_id = RUS_internationalists
		x = -2
		y = 3

		prerequisite = {
			focus = RUS_victory_of_socialism
		}
		mutually_exclusive = {
			focus = RUS_mend_marxist_rift
		}
		available = {
			custom_override_tooltip = {
				tooltip = RUS_8_centre_unity_tt
				check_variable = { vst_centre_unity > 7 }
			}
			OR = {
				has_country_flag = RUS_maksimov_vision
				NOT = { country_exists = GER }
			}
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_devolution_party"
			country_event = russia_socialist_events.312 # The Dream of Workers' Confederation
			custom_effect_tooltip = RUS_devolution_party_tt
			custom_effect_tooltip = tooltip_white_line
			activate_advisor = RUS_grigory_maksimov_sic
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				swap_ruler_traits = {
					remove = RUS_theorist_of_new_communism
					add = RUS_theorist_of_new_communism_4
				}
			}
			hidden_effect = {
				var:country_leader = {
					set_temp_variable = { remove_trait_token = token:RUS_theorist_of_new_communism }
					set_temp_variable = { add_trait_token = token:RUS_theorist_of_new_communism_4 }
					swap_traits_in_all_country_leader_roles = yes
				}
				country_event = { id = russia_socialist_events.185 days = 30 random_days = 30 } #Dreaming of the Future
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_mend_marxist_rift
		icon = GFX_focus_spr_unify_the_london_bureau
		cost = 6

		relative_position_id = RUS_internationalists
		x = 0
		y = 3

		prerequisite = {
			focus = RUS_victory_of_socialism
		}
		mutually_exclusive = {
			focus = RUS_devolution_party
		}
		available = {
			set_temp_variable = { RUS_relation_check = 7 }
			RUS_vst_right_check = yes
			RUS_vst_left_check = yes
			is_in_coalition_with_totalist = yes
			OR = {
				has_country_flag = RUS_restore_socialist_unity
				NOT = { country_exists = GER }
			}
		}
		ai_will_do = { factor = 400 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mend_marxist_rift"
			country_event = russia_socialist_events.313 # Healing the Great Schism
			add_political_power = 100
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				swap_ruler_traits = {
					remove = RUS_theorist_of_new_communism
					add = RUS_theorist_of_new_communism_3
				}
			}
			hidden_effect = {
				var:country_leader = {
					set_temp_variable = { remove_trait_token = token:RUS_theorist_of_new_communism }
					set_temp_variable = { add_trait_token = token:RUS_theorist_of_new_communism_3 }
					swap_traits_in_all_country_leader_roles = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_chamber_of_unions
		icon = GFX_goal_syndicalist_workers
		cost = 6

		relative_position_id = RUS_internationalists
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_internationalists
		}
		available = {
			set_temp_variable = { RUS_relation_check = 3 }
			RUS_vst_centre_check = yes
			NOT = { has_idea = RUS_post-savinkov_economy }
		}
		ai_will_do = { factor = 25 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_chamber_of_unions"
			if = {
				limit = { has_completed_focus = RUS_revolution_from_above }
				custom_effect_tooltip = RUS_sulimov_buff_tt
				add_popularity = { ideology = syndicalist popularity = 0.05 }
			}
			if = {
				limit = { RUS_VST_left = no }
				add_ideas = RUS_congress_of_unions
			}
			else = {
				add_one_random_civilian_factory = yes
				add_one_random_civilian_factory = yes
			}
			RUS_decrease_VST_left_radicalism = yes
			if = {
				limit = { has_character = RUS_aleksandr_shlyapnikov }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_aleksandr_shlyapnikov_advisor
			}
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_centre_relation = yes
			hidden_effect = {
				country_event = russia_socialist_events.64 #Nature of Russian Syndicalism
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_decentralised_planning
		icon = GFX_goal_generic_improve_industry
		cost = 6

		relative_position_id = RUS_internationalists
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_chamber_of_unions
		}
		mutually_exclusive = {
			focus = RUS_planning_directory
		}
		available = {
			RUS_VST_left = no
		}
		ai_will_do = { factor = 30 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_decentralised_planning"
			custom_effect_tooltip = RUS_decentralised_planning_tt
			if = {
				limit = { has_idea = RUS_vst_party_unity_idea }
				swap_ideas = {
					remove_idea = RUS_congress_of_unions
					add_idea = RUS_congress_of_unions_3
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_congress_of_unions
					add_idea = RUS_congress_of_unions_2
				}
			}
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_centre_relation = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_planning_directory
		icon = GFX_goal_state_economy
		cost = 6

		relative_position_id = RUS_internationalists
		x = 2
		y = 2

		prerequisite = {
			focus = RUS_chamber_of_unions
			focus = RUS_dictatorship_proletariat
			focus = RUS_democratic_dictatorship
		}
		mutually_exclusive = {
			focus = RUS_decentralised_planning
		}
		available = {
			OR = {
				RUS_lev_kamenev = { is_second_in_command = yes }
				RUS_grigory_zinovyev = { is_second_in_command = yes }
				RUS_sulimov = yes
			}
		}
		ai_will_do = { factor = 30 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_planning_directory"
			country_event = { id = russia_socialist_events.62 days = 10 } #Towards Planned Economy
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_planning_directory"
			if = {
				limit = {
					RUS_VST_left = yes
					has_idea = RUS_workers_control
				}
				swap_ideas = {
					remove_idea = RUS_workers_control
					add_idea = RUS_economic_planning
				}
			}
			else_if = {
				limit = {
					has_idea = RUS_economic_planning
				}
				swap_ideas = {
					remove_idea = RUS_economic_planning
					add_idea = RUS_economic_planning_2
				}
			}
			else_if = {
				limit = {
					RUS_VST_centre = yes
					has_idea = RUS_fedplan
				}
				swap_ideas = {
					remove_idea = RUS_fedplan
					add_idea = RUS_fedplan_2
				}
			}
			else_if = {
				limit = {
					RUS_VST_centre = yes
					has_idea = RUS_workers_control
				}
				swap_ideas = {
					remove_idea = RUS_workers_control
					add_idea = RUS_fedplan
				}
			}
			else = {
				add_one_random_civilian_factory = yes
				add_one_random_civilian_factory = yes
				add_one_random_military_factory = yes
				add_one_random_military_factory = yes
			}
			if = {
				limit = { NOT = { has_completed_focus = RUS_4_year_plan } }
				multiply_variable = { RUS_ic_cost_low = 0.66 }
				multiply_variable = { RUS_ic_cost_med = 0.66 }
				multiply_variable = { RUS_ic_cost_high = 0.66 }
				custom_effect_tooltip = RUS_first_4_year_plan_tt
				custom_effect_tooltip = tooltip_white_line
			}
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			hidden_effect = {
				country_event = { id = russia_socialist_events.340 days = 30 }
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_eternal_flame
		icon = GFX_focus_CHL_union_of_hispanic_republics
		cost = 5

		relative_position_id = RUS_internationalists
		x = -2
		y = 4

		prerequisite = {
			focus = RUS_countryside_concession
		}
		prerequisite = {
			focus = RUS_devolution_party
			focus = RUS_mend_marxist_rift
		}
		available = {
			has_country_leader = { character = RUS_vladimir_levitsky }
			is_in_coalition_with_radical_socialist = yes
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 8 }
				RUS_vst_left_check = yes
				RUS_vst_right_check = yes
				RUS_sr_check = yes
			}
			OR = {
				is_in_coalition_with_social_democrat = yes
				is_in_coalition_with_totalist = yes
			}
		}
		ai_will_do = { factor = 30 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_eternal_flame"
			if = {
				limit = { has_completed_focus = RUS_mend_marxist_rift }
				add_ideas = RUS_towards_post_scarcity
			}
			else_if = {
				limit = { has_completed_focus = RUS_devolution_party }
				add_ideas = RUS_towards_devolved_state
			}
			else = {
				custom_effect_tooltip = RUS_eternal_flame_tt
			}
			set_variable = { RUS.coalition_stability = 1 }
			custom_effect_tooltip = RUS_coalition_improvement2_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_protect_revolution
		icon = GFX_goal_LAT_soviet_union #GFX_goal_FRA_french_revanchism
		cost = 5

		relative_position_id = RUS_internationalists
		x = -2
		y = 2

		prerequisite = {
			focus = RUS_workers_coalition_dialogue
		}
		allow_branch = {
			RUS_is_demrus = no
			RUS_sulimov = yes
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_protect_revolution"
			activate_mission = RUS_soc_prepare_army
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_completed_focus = RUS_revolution_from_above }
				custom_effect_tooltip = RUS_sulimov_buff_tt
				add_war_support = 0.15
				custom_effect_tooltip = tooltip_white_line
			}
			else = { add_war_support = 0.1 }
			RUS_fix_army_soc = yes
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_united_behind_purpose
		icon = GFX_focus_SWE_refuge_for_revolutionaries #GFX_goal_ideology_syndicalist
		cost = 6

		relative_position_id = RUS_internationalists
		x = -3
		y = 3

		prerequisite = {
			focus = RUS_protect_revolution
		}
		ai_will_do = { factor = 40 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_united_behind_purpose"
			activate_mission = RUS_soc_prepare_minds
			custom_effect_tooltip = tooltip_white_line
			add_popularity = { ideology = syndicalist popularity = 0.1 }
			set_temp_variable = { RUS_relation_change = 2 }
			RUS_VST_right_relation = yes
			RUS_VST_left_relation = yes
			RUS_RKP_relation = yes
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_formalise_emergency_powers
		icon = GFX_focus_generic_court
		cost = 6

		relative_position_id = RUS_internationalists
		x = -1
		y = 3

		prerequisite = {
			focus = RUS_protect_revolution
		}
		available = {
			threat > 0.5
			set_temp_variable = { RUS_relation_check = 3 }
			RUS_sr_check = yes
		}
		ai_will_do = { factor = 40 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_formalise_emergency_powers"
			country_event = russia_socialist_events.79 #The Committee for Defence of the Revolution
			if = {
				limit = { has_completed_focus = RUS_revolution_from_above }
				custom_effect_tooltip = RUS_sulimov_buff_tt
				add_political_power = 75
			}
			else = { add_political_power = 50 }
			if = {
				limit = {
					NOT = {
						RUS_daniil_sulimov = { has_trait = RUS_protector_of_revolution }
						RUS_daniil_sulimov = { has_trait = RUS_protector_of_revolution_2 }
					}
				}
				add_country_leader_trait = RUS_protector_of_revolution
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_prepare_war_machine
		icon = GFX_focus_NORDIC_com_materiel
		cost = 6

		relative_position_id = RUS_internationalists
		x = 1
		y = 3

		prerequisite = {
			focus = RUS_decentralised_planning
			focus = RUS_planning_directory
		}
		prerequisite = {
			focus = RUS_protect_revolution
		}
		available = {
			threat > 0.5
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_prepare_war_machine"
			activate_mission = RUS_soc_prepare_industry
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					OR = {
						has_idea = civilian_economy
						has_idea = low_economic_mobilisation
						AND = {
							has_idea = partial_economic_mobilisation
							has_war = yes
						}
					}
				}
				increase_economic_mobilisation = yes
			}
			else = { add_war_support = 0.05 }
			custom_effect_tooltip = tooltip_white_line
			223 = { #Tula
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = arms_factory level = 1 }
			}
			252 = { #Nizhny Novgorod
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = arms_factory level = 1 }
			}
			572 = { #Chelyabinsk
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = arms_factory level = 1 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_counter_reactionary_intelligence
		icon = GFX_focus_spr_class_war
		cost = 6

		relative_position_id = RUS_internationalists
		x = 3
		y = 3

		prerequisite = {
			focus = RUS_protect_revolution
		}
		ai_will_do = { factor = 40 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_counter_reactionary_intelligence"
			RUS_decrease_antisoc_resistance = yes
			add_popularity = { ideology = national_populist popularity = -0.05 }
			add_popularity = { ideology = paternal_autocrat popularity = -0.05 }
			add_popularity = { ideology = authoritarian_democrat popularity = -0.05 }
			add_popularity = { ideology = social_conservative popularity = -0.05 }
			add_popularity = { ideology = market_liberal popularity = -0.05 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_younger_generation
		icon = GFX_focus_ARG_women_in_industry
		cost = 6
		available = {
			NOT = { country_exists = GER }
		}

		relative_position_id = RUS_internationalists
		x = 0
		y = 4

		prerequisite = {
			focus = RUS_united_behind_purpose
		}
		prerequisite = {
			focus = RUS_formalise_emergency_powers
		}
		prerequisite = {
			focus = RUS_prepare_war_machine
		}
		prerequisite = {
			focus = RUS_counter_reactionary_intelligence
		}
		ai_will_do = { factor = 500 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_younger_generation"
			add_ideas = RUS_socialism_in_practice
			custom_effect_tooltip = RUS_younger_generation_tt
			hidden_effect = {
				country_event = russia_socialist_events.80 #Abolition of the Emergency Powers
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_communists
		icon = GFX_goal_RUS_syndies
		cost = 5

		relative_position_id = RUS_syndicalists
		x = 11
		y = 1
		prerequisite = {
			focus = RUS_syndicalists
		}
		available = { always = no }
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_communists"
		}
	}

	focus = {
		id = RUS_state_surveillance
		icon = GFX_goal_generic_police_state
		cost = 6

		relative_position_id = RUS_communists
		x = -4
		y = 1

		prerequisite = {
			focus = RUS_internationalists
			focus = RUS_communists
		}
		available = {
			RUS_VST_right = no
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_state_surveillance"
			add_stability = 0.075
			if = {
				limit = { has_completed_focus = RUS_revolution_from_above }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_sulimov_buff_tt
				add_stability = 0.05
			}
			if = {
				limit = { has_idea = RUS_vgpu_idea }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea
					add_idea = RUS_vgpu_idea_2
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_3 }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_3
					add_idea = RUS_vgpu_idea_4
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_lar }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_lar
					add_idea = RUS_vgpu_idea_lar_2
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_lar_3 }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_lar
					add_idea = RUS_vgpu_idea_lar_4
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = RUS_vgpu_idea_lar
						add_idea = RUS_vgpu_idea_lar_2
					}
				}
			}
			if = {
				limit = {
					has_dlc_lar = yes
					NOT = { has_done_agency_upgrade = upgrade_passive_defense }
				}
				upgrade_intelligence_agency = upgrade_passive_defense
			}
			if = {
				limit = {
					has_dlc_lar = yes
					NOT = { has_done_agency_upgrade = upgrade_interrogation_techniques }
				}
				upgrade_intelligence_agency = upgrade_interrogation_techniques
			}
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			set_temp_variable = { RUS_relation_change = -2 }
			RUS_VST_right_relation = yes
			set_temp_variable = { RUS_relation_change = -3 }
			RUS_SDS_relation = yes
			hidden_effect = {
				country_event = { id = russia_socialist_events.386 days = 160 } #Against the Anti-Social Intelligentsia
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_dictatorship_proletariat
		icon = GFX_goal_revolution_tools
		cost = 6

		relative_position_id = RUS_communists
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_communists
		}
		available = {
			RUS_VST_left = yes
		}
		mutually_exclusive = {
			focus = RUS_democratic_dictatorship
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_country_leader = { character = RUS_lev_kamenev }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_dictatorship_proletariat"
			add_ideas = RUS_proletarian_transition_1
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_VST_left_radicalism = yes
			if = {
				limit = { has_country_flag = RUS_dvoika_minigame }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_effects_from_radicalism_tt
				set_temp_variable = { current_vst_left_radicalism = vst_left_radicalism }
				multiply_temp_variable = { current_vst_left_radicalism = 10 }
				add_political_power = current_vst_left_radicalism
			}
			hidden_effect = {
				if = {
					limit = { RUS_VST_left = yes }
					country_event = { id = russia_socialist_events.340 days = 30 } # Unions Organise Protests
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_democratic_dictatorship
		icon = GFX_focus_SOV_zinovyevists
		cost = 6

		relative_position_id = RUS_communists
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_communists
		}
		available = {
			RUS_VST_left = yes
		}
		mutually_exclusive = {
			focus = RUS_dictatorship_proletariat
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 2
				has_country_leader = { character = RUS_lev_kamenev }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democratic_dictatorship"
			add_ideas = RUS_democratic_dictatorship_1
			custom_effect_tooltip = tooltip_white_line
			RUS_increase_VST_left_radicalism = yes
			country_event = russia_socialist_events.429
			if = {
				limit = { has_country_flag = RUS_dvoika_minigame }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_effects_from_radicalism_tt
				set_temp_variable = { current_vst_left_radicalism = vst_left_radicalism }
				multiply_temp_variable = { current_vst_left_radicalism = 0.01 }
				add_war_support = current_vst_left_radicalism
			}
			hidden_effect = {
				if = {
					limit = { RUS_VST_left = yes }
					country_event = { id = russia_socialist_events.340 days = 30 } # Unions Organise Protests
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_taking_over_vtssps
		icon = GFX_focus_SOV_the_supreme_soviet
		cost = 7

		relative_position_id = RUS_dictatorship_proletariat
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_dictatorship_proletariat
			focus = RUS_democratic_dictatorship
		}
		available = {
			has_idea = RUS_unions_fury
			RUS_VST_left = yes
		}
		bypass = {
			has_country_leader = { character = RUS_grigory_zinovyev }
		}
		ai_will_do = { factor = 40 }
		continue_if_invalid = yes
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_taking_over_vtssps"
			country_event = russia_socialist_events.363
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_taking_over_vtssps"
			custom_effect_tooltip = RUS_taking_over_vtssps_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_law_on_unions
		icon = GFX_focus_GER_proletarian_dictatorship #GFX_focus_ITA_corpo_volontari_della_liberta
		cost = 6

		relative_position_id = RUS_taking_over_vtssps
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_taking_over_vtssps
		}
		available = {
			RUS_VST_left = yes
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_law_on_unions"
			if = {
				limit = { has_idea = RUS_unions_fury }
				remove_ideas = RUS_unions_fury
			}
			if = {
				limit = { has_country_flag = RUS_kamenevs_version_of_union_bill_flag }
				add_ideas = RUS_centralised_unions
			}
			else_if = {
				limit = {
					OR = {
						has_country_flag = RUS_zinovyevs_version_of_union_bill_flag
						has_country_leader = { character = RUS_grigory_zinovyev }
					}
				}
				add_ideas = RUS_subdued_unions
				if = {
					limit = { NOT = { has_country_leader = { character = RUS_grigory_zinovyev } } }
					hidden_effect = {
						RUS_grigory_zinovyev = {
							unit_leader_event = { id = russia_socialist_events.380 days = 2 }
						}
					}
				}
			}
			else = {
				custom_effect_tooltip = RUS_law_on_unions_tt
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = RUS_proletarian_transition_1 }
				swap_ideas = {
					remove_idea = RUS_proletarian_transition_1
					add_idea = RUS_proletarian_transition_2
				}
			}
			else_if = {
				limit = { has_idea = RUS_democratic_dictatorship_1 }
				swap_ideas = {
					remove_idea = RUS_democratic_dictatorship_1
					add_idea = RUS_democratic_dictatorship_2
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_dictatorship_proletariat
				}
				swap_ideas = {
					remove_idea = RUS_proletarian_transition_1
					add_idea = RUS_proletarian_transition_2
				}
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_democratic_dictatorship
				}
				swap_ideas = {
					remove_idea = RUS_democratic_dictatorship_1
					add_idea = RUS_democratic_dictatorship_2
				}
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_sergey_medvedev_advisor
			hidden_effect = {
				country_event = { id = russia_socialist_events.387 days = 180 } #Maximalist Takeover of SRs
			}
		}
		search_filters = { FOCUS_FILTER_PRODUCTION FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_labour_and_defence
		icon = GFX_goal_generic_workers_democracy
		cost = 6

		relative_position_id = RUS_dictatorship_proletariat
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_dictatorship_proletariat
			focus = RUS_democratic_dictatorship
			focus = RUS_chamber_of_unions
		}
		available = {
			if = {
				limit = { is_ai = no }
				OR = {
					set_temp_variable = { RUS_relation_check = 7 }
					RUS_vst_left_check = yes
					RUS_VST_left = yes
				}
			}
			NOT = { has_completed_focus = RUS_new_russian_socialism }
		}
		ai_will_do = { factor = 35 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_labour_and_defence"
			country_event = russia_socialist_events.431
			if = {
				limit = {
					RUS_VST_left = yes
					has_idea = RUS_workers_control
				}
				swap_ideas = {
					remove_idea = RUS_workers_control
					add_idea = RUS_economic_planning
				}
			}
			else_if = {
				limit = {
					has_idea = RUS_economic_planning
				}
				swap_ideas = {
					remove_idea = RUS_economic_planning
					add_idea = RUS_economic_planning_2
				}
			}
			else_if = {
				limit = {
					RUS_VST_centre = yes
					has_idea = RUS_workers_control
				}
				swap_ideas = {
					remove_idea = RUS_workers_control
					add_idea = RUS_fedplan
				}
			}
			else_if = {
				limit = {
					RUS_VST_centre = yes
					has_idea = RUS_fedplan
				}
				swap_ideas = {
					remove_idea = RUS_fedplan
					add_idea = RUS_fedplan_2
				}
			}
			if = {
				limit = { RUS_VST_left = yes }
				custom_effect_tooltip = RUS_sto_radicalism_tt
				if = {
					limit = {
						OR = {
							check_variable = { vst_left_radicalism > 2 }
							has_country_leader = { character = RUS_grigory_zinovyev }
						}
					}
					add_stability = 0.05
				}
				if = {
					limit = {
						OR = {
							check_variable = { vst_left_radicalism > 5 }
							has_country_leader = { character = RUS_grigory_zinovyev }
						}
					}
					add_one_random_civilian_factory = yes
				}
				if = {
					limit = {
						OR = {
							check_variable = { vst_left_radicalism > 8 }
							has_country_leader = { character = RUS_grigory_zinovyev }
						}
					}
					add_one_random_military_factory = yes
				}
				custom_effect_tooltip = tooltip_white_line
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_sergey_syrtsov_advisor
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			RUS_RKP_relation = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_VST_right_relation = yes
			hidden_effect = {
				if = {
					limit = { RUS_VST_left = yes }
					country_event = { id = russia_socialist_events.340 days = 30 }
				}
			}
		}
		search_filters = { FOCUS_FILTER_PRODUCTION FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_red_intelligentsia
		icon = GFX_goal_generic_culture2
		cost = 6

		relative_position_id = RUS_dictatorship_proletariat
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_labour_and_defence
		}
		available = {
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 5 }
				RUS_vst_left_check = yes
			}
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_red_intelligentsia"
			activate_targeted_decision = { target = THIS decision = RUS_support_proletarian_realism }
			activate_targeted_decision = { target = THIS decision = RUS_anti_superstition_campaign }
			activate_targeted_decision = { target = THIS decision = RUS_propagate_emulation_of_west }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_ivan_gronsky_advisor
			hidden_effect = { country_event = { id = russia_socialist_events.422 days = 30 } }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_encourage_collectivisation
		icon = GFX_goal_RUS_collective_farms
		cost = 5

		relative_position_id = RUS_communists
		x = 1
		y = 2

		prerequisite = {
			focus = RUS_communists
		}
		available = {
			set_temp_variable = { RUS_relation_check = 4 }
			RUS_vst_left_check = yes
		}
		mutually_exclusive = {
			focus = RUS_war_on_landowners
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				NOT = { has_country_flag = RUS_zinovyev_ai }
				OR = {
					has_idea = RUS_anti_socialist_resistance_2
					has_idea = RUS_anti_socialist_resistance_3
					has_idea = RUS_anti_socialist_resistance_4
					has_idea = RUS_anti_socialist_resistance_5
					has_idea = RUS_anti_socialist_resistance_6
				}
			}
			modifier = {
				factor = 15
				has_country_flag = RUS_zinovyev_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_encourage_collectivisation"
			add_political_power = 75
			random_owned_controlled_state = {
				limit = { has_state_category = two }
				increase_state_category_by_one_level = yes
			}
			random_owned_controlled_state = {
				limit = { has_state_category = two }
				increase_state_category_by_one_level = yes
			}
			random_owned_controlled_state = {
				limit = { has_state_category = two }
				increase_state_category_by_one_level = yes
			}
			random_owned_controlled_state = {
				limit = { has_state_category = one }
				increase_state_category_by_one_level = yes
			}
			random_owned_controlled_state = {
				limit = { has_state_category = one }
				increase_state_category_by_one_level = yes
			}
			random_owned_controlled_state = {
				limit = { has_state_category = one }
				increase_state_category_by_one_level = yes
			}
			custom_effect_tooltip = tooltip_white_line
			RUS_decrease_VST_left_radicalism = yes
			RUS_increase_antisoc_resistance = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			RUS_VST_centre_relation = yes
			RUS_RKP_relation = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_PSR_relation = yes
			RUS_SDS_relation = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_bolshevik_gamble
		icon = GFX_focus_SOV_the_last_purge
		cost = 6

		relative_position_id = RUS_encourage_collectivisation
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_encourage_collectivisation
			focus = RUS_war_on_landowners
		}
		mutually_exclusive = {
			focus = RUS_proletarian_consciousness
		}
		available = {
			RUS_VST_left = yes
			if = {
				limit = { has_country_leader = { character = RUS_lev_kamenev } }
				set_temp_variable = { RUS_left_radicalism_check = 8 }
				RUS_vst_left_radicalism_check = yes
				set_temp_variable = { current_vst_left_radicalism = vst_left_radicalism }
				multiply_temp_variable = { current_vst_left_radicalism = 10 }
				custom_override_tooltip = {
					tooltip = RUS_bolshevik_gamble_trigger_tt
					OR = {
						has_political_power > current_vst_left_radicalism
						is_ai = no
					}
				}
			}
			else_if = {
				limit = { has_country_leader = { character = RUS_grigory_zinovyev } }
				has_political_power > 50
			}
		}
		continue_if_invalid = yes
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_bolshevik_gamble"
			custom_effect_tooltip = RUS_bolshevik_gamble_event_tt
			custom_effect_tooltip = tooltip_white_line
			country_event = russia_socialist_events.381
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					has_country_leader = { character = RUS_lev_kamenev }
				}
				custom_effect_tooltip = RUS_bolshevik_gamble_effect_tt
				set_temp_variable = { current_vst_left_radicalism = vst_left_radicalism }
				multiply_temp_variable = { current_vst_left_radicalism = -10 }
				add_political_power = current_vst_left_radicalism
			}
			else_if = {
				limit = {
					has_country_leader = { character = RUS_lev_kamenev }
				}
				add_political_power = -50
			}
			activate_targeted_decision = { target = THIS decision = RUS_expel_moderates }
			activate_targeted_decision = { target = THIS decision = RUS_ban_SDS }
			activate_targeted_decision = { target = THIS decision = RUS_destroy_antisoc_resistance }
			activate_targeted_decision = { target = THIS decision = RUS_capital_to_petrograd }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_charter_of_russian_totalism
		icon = GFX_goal_ideology_totalist
		cost = 6

		relative_position_id = RUS_communists
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_communists
		}
		available = {
			RUS_VST_left = yes
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_charter_of_russian_totalism"
			if = {
				limit = { has_country_flag = RUS_VST_MAX_deal }
				set_temp_variable = { RUS_relation_change = 1 }
				RUS_PSR_relation = yes
				add_political_power = 25
			}
			hidden_effect = {
				if = {
					limit = {
						OR = {
							check_variable = { vst_left_radicalism > 5 }
							has_country_leader = { character = RUS_grigory_zinovyev }
						}
					}
					add_ideas = RUS_totalism_idea_2
				}
				else = {
					add_ideas = RUS_totalism_idea_1
				}
			}
			effect_tooltip = {
				custom_effect_tooltip = RUS_charter_of_russian_totalism_low_radicalism_tt
				add_ideas = RUS_totalism_idea_1
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_charter_of_russian_totalism_high_radicalism_tt
				add_ideas = RUS_totalism_idea_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_technocratic_syndicalism
		icon = GFX_focus_spr_masters_of_our_own_fate
		cost = 6

		relative_position_id = RUS_red_intelligentsia
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_red_intelligentsia
		}
		prerequisite = {
			focus = RUS_law_on_unions
		}
		mutually_exclusive = {
			focus = RUS_preserve_revolution_within
		}
		available = {
			has_country_leader = { character = RUS_lev_kamenev }
			if = {
				limit = { is_ai = no }
				set_temp_variable = { RUS_relation_check = 5 }
				RUS_vst_centre_check = yes
			}
			OR = {
				has_completed_focus = RUS_bolshevik_gamble
				if = {
					limit = { is_ai = no }
					set_temp_variable = { RUS_relation_check = 5 }
					RUS_bolshevik_check = yes
				}
			}
			is_in_coalition_with_totalist = yes
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_technocratic_syndicalism"
			if = {
				limit = { has_completed_focus = RUS_dictatorship_proletariat }
				swap_ideas = {
					remove_idea = RUS_proletarian_transition_2
					add_idea = RUS_technocratic_syndicalism_1
				}
			}
			else_if = {
				limit = { has_completed_focus = RUS_democratic_dictatorship }
				swap_ideas = {
					remove_idea = RUS_democratic_dictatorship_2
					add_idea = RUS_technocratic_syndicalism_2
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_dictatorship_proletariat
				}
				swap_ideas = {
					remove_idea = RUS_proletarian_transition_2
					add_idea = RUS_technocratic_syndicalism_1
				}
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_democratic_dictatorship
				}
				swap_ideas = {
					remove_idea = RUS_democratic_dictatorship_2
					add_idea = RUS_technocratic_syndicalism_2
				}
			}
			custom_effect_tooltip = RUS_technocratic_syndicalism_tt
			set_temp_variable = { current_vst_left_radicalism = vst_left_radicalism }
			multiply_temp_variable = { current_vst_left_radicalism = 0.02 }
			add_war_support = current_vst_left_radicalism
			clr_country_flag = RUS_dvoika_minigame
			hidden_effect = {
				country_event = { id = russia_socialist_events.391 days = 7 } #Extent of Centralisation?
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_preserve_revolution_within
		icon = GFX_focus_FIN_finnish_federation_of_trade_unions
		cost = 6

		relative_position_id = RUS_bolshevik_gamble
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_law_on_unions
		}
		prerequisite = {
			focus = RUS_bolshevik_gamble
		}
		mutually_exclusive = {
			focus = RUS_technocratic_syndicalism
		}
		available = {
			has_country_leader = { character = RUS_grigory_zinovyev }
			has_war_with = GER
			if = {
				limit = { is_ai = no }
				totalist > 0.5
			}
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_preserve_revolution_within"
			if = {
				limit = { has_completed_focus = RUS_dictatorship_proletariat }
				swap_ideas = {
					remove_idea = RUS_proletarian_transition_2
					add_idea = RUS_to_protect_democracy_1
				}
			}
			else_if = {
				limit = { has_completed_focus = RUS_democratic_dictatorship }
				swap_ideas = {
					remove_idea = RUS_democratic_dictatorship_2
					add_idea = RUS_to_protect_democracy_2
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_dictatorship_proletariat
				}
				swap_ideas = {
					remove_idea = RUS_proletarian_transition_2
					add_idea = RUS_to_protect_democracy_1
				}
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_democratic_dictatorship
				}
				swap_ideas = {
					remove_idea = RUS_democratic_dictatorship_2
					add_idea = RUS_to_protect_democracy_2
				}
			}
			custom_effect_tooltip = RUS_preserve_revolution_within_totalist_tt
			set_temp_variable = { current_totalist_popularity = party_popularity@totalist }
			multiply_temp_variable = { current_totalist_popularity = 200 }
			add_political_power = current_totalist_popularity
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_preserve_revolution_within_tt
			hidden_effect = {
				set_politics = {
					ruling_party = totalist
					elections_allowed = no
				}
				country_event = { id = russia_socialist_events.390 days = 7 } #Protests against Zinovyev
				country_event = { id = russia_socialist_events.389 days = 260 } #Integral Socialism and the Accession of the Maximalists
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_invite_sverdlov
		icon = GFX_focus_SOV_the_path_of_marxism_leninism
		cost = 3

		relative_position_id = RUS_communists
		x = 4
		y = 1

		prerequisite = {
			focus = RUS_internationalists
			focus = RUS_communists
		}
		available = {
			OR = {
				set_temp_variable = { RUS_relation_check = 4 }
				RUS_bolshevik_check = yes
				RUS_VST_left = yes
			}
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				has_country_flag = RUS_abramovich_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_invite_sverdlov"
			if = {
				limit = { is_in_coalition_with_totalist = no }
				set_temp_variable = { coalition_partner_var = token:totalist }
				add_to_coalition = yes
			}
			set_temp_variable = { RUS_relation_change = 2 }
			RUS_RKP_relation = yes
			RUS_decrease_VST_centre_unity = yes
			add_popularity = { ideology = totalist popularity = 0.05 }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RUS_yakov_sverdlov_advisor
			show_ideas_tooltip = RUS_mikhail_frunze_advisor
			country_event = { id = russia_socialist_events.421 days = 15 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}

	focus = {
		id = RUS_cheka_state
		icon = GFX_goal_generic_imprison_people
		cost = 5

		relative_position_id = RUS_invite_sverdlov
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_invite_sverdlov
		}
		available = {
			has_completed_focus = RUS_state_surveillance
			set_temp_variable = { RUS_relation_check = 5 }
			RUS_bolshevik_check = yes
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_cheka_state"
			if = {
				limit = {
					has_dlc_lar = yes
					NOT = { has_done_agency_upgrade = upgrade_psycho_warfare }
				}
				upgrade_intelligence_agency = upgrade_psycho_warfare
			}
			if = {
				limit = {
					has_dlc_lar = yes
					NOT = { has_done_agency_upgrade = upgrade_anti_partisan }
				}
				upgrade_intelligence_agency = upgrade_anti_partisan
			}
			RUS_decrease_antisoc_resistance = yes
			RUS_increase_VST_left_radicalism = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			RUS_RKP_relation = yes
			set_temp_variable = { RUS_relation_change = -1 }
			RUS_VST_centre_relation = yes
			RUS_VST_right_relation = yes
			RUS_PSR_relation = yes
			hidden_effect = {
				country_event = { id = russia_socialist_events.386 days = 160 } #Against the Anti-Social Intelligentsia
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_war_on_landowners
		icon = GFX_goal_RUS_war_on_peasants
		cost = 5

		relative_position_id = RUS_invite_sverdlov
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_invite_sverdlov
		}
		mutually_exclusive = {
			focus = RUS_encourage_collectivisation
		}
		available = {
			set_temp_variable = { RUS_relation_check = 5 }
			RUS_bolshevik_check = yes
		}
		ai_will_do = { factor = 15 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_war_on_landowners"
			custom_effect_tooltip = RUS_bolshevik_pop_focus_tt
			set_temp_variable = { RUS_RKP_pp = party_popularity_100@totalist }
			multiply_temp_variable = { RUS_RKP_pp = 5 }
			add_political_power = RUS_RKP_pp
			add_timed_idea = {
				idea = RUS_pacification_of_countryside
				days = 365
			}
			custom_effect_tooltip = tooltip_white_line
			RUS_increase_VST_left_radicalism = yes
			set_temp_variable = { RUS_relation_change = 2 }
			RUS_VST_left_relation = yes
			RUS_RKP_relation = yes
			set_temp_variable = { RUS_relation_change = -2 }
			RUS_SDS_relation = yes
			set_temp_variable = { RUS_relation_change = -3 }
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_proletarian_consciousness
		icon = GFX_goal_generic_radar_instillation
		cost = 6

		relative_position_id = RUS_invite_sverdlov
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_invite_sverdlov
		}
		mutually_exclusive = {
			focus = RUS_bolshevik_gamble
		}
		available = {
			set_temp_variable = { RUS_relation_check = 7 }
			RUS_bolshevik_check = yes
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 0
				has_country_flag = RUS_zinovyev_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_proletarian_consciousness"
			increase_conscription = yes
			set_temp_variable = { ideology_change_var = 7.5 }
			change_ruling_party_popularity = yes
			custom_effect_tooltip = RUS_RKP_relation_focus_tt
			set_temp_variable = { RUS_RKP_WS = 0.025 }
			multiply_temp_variable = { RUS_RKP_WS = rkp_var }
			add_war_support = RUS_RKP_WS
			RUS_increase_VST_left_radicalism = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			RUS_RKP_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }
	}

	### SocRus foreign policy ###

	focus = {
		id = RUS_self_determination
		icon = GFX_goal_RUS_self_determination
		cost = 5

		relative_position_id = RUS_russian_congress
		x = 20
		y = -2
		allow_branch = {
			has_socialist_government = yes
			is_subject = no
		}
		offset = {
			x = -10
			y = 1
			trigger = { RUS_PLSR = yes }
		}
		available = {
			has_socialist_government = yes
			has_completed_focus = RUS_russian_congress
			NOT = { has_war_with = TRK }
			NOT = { BUK = { has_war_with = TRK } }
			hidden_trigger = {
				is_subject = no
			}
		}
		ai_will_do = { factor = 100 }
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_self_determination"
			country_event = { id = russia_socialist_events.410 days = 10 } #Self-Determination Declaration
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_self_determination"
			add_political_power = 50
			country_event = russia_socialist_events.411 #The Union of Socialist Labour Republics
			add_to_array = { array = RUS_SSTR_tags value = UKR }
			add_to_array = { array = RUS_SSTR_tags value = BLR }
			add_to_array = { array = RUS_SSTR_tags value = LIT }
			add_to_array = { array = RUS_SSTR_tags value = LAT }
			add_to_array = { array = RUS_SSTR_tags value = BAT }
			add_to_array = { array = RUS_SSTR_tags value = EST }
			add_to_array = { array = RUS_SSTR_tags value = GEO }
			add_to_array = { array = RUS_SSTR_tags value = AZR }
			add_to_array = { array = RUS_SSTR_tags value = ARM }
			add_to_array = { array = RUS_SSTR_tags value = MNR }
			add_to_array = { array = RUS_SSTR_tags value = TRK }
			add_to_array = { array = RUS_SSTR_tags value = KAZ }
			add_to_array = { array = RUS_SSTR_tags value = KHI }
			add_to_array = { array = RUS_SSTR_tags value = BUK }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_eastern_vanguard
		icon = GFX_goal_FRA_Internationale_Congress
		cost = 5
		relative_position_id = RUS_self_determination
		x = -1
		y = 1
		prerequisite = {
			focus = RUS_self_determination
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 5
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
			modifier = {
				factor = 50
				date > 1938.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_eastern_vanguard"
			if = {
				limit = { NOT = { country_exists = INT } }
				save_global_event_target_as = KR_internationale_leader
				create_faction_from_template = { template = faction_template_internationale name = faction_fourth_internationale }
			}
			else = {
				set_country_flag = world_tension_joined_radical_faction
				create_faction_from_template = { template = faction_template_moscow_accord name = faction_eastern_front_of_the_internationale icon = GFX_faction_logo_generic_14 }
				hidden_effect = { set_faction_rule = joining_rule_socialist_only }
				if = {
					limit = { NOT = { has_global_flag = MIE_intermarium_formed } }
					add_named_threat = {
						threat = 6
						name = RUS_spreading_the_revolution_threat
					}
				}
				if = {
					limit = { has_global_flag = FRA_created_phalanstere }
					FRA_add_to_phalanstere = yes
				}
				custom_effect_tooltip = tooltip_white_line
				INT = {
					diplomatic_relation = {
						country = ROOT
						relation = non_aggression_pact
					}
				}
				custom_effect_tooltip = tooltip_white_line
				every_other_country = {
					limit = {
						is_subject = no
						is_in_faction_with = INT
						NOT = {
							tag = INT
							tag = FIN
							tag = EST
							tag = LAT
							tag = LIT
							tag = BLR
							tag = UKR
							tag = POL
						}
					}
					diplomatic_relation = {
						country = ROOT
						relation = non_aggression_pact
					}
				}
				if = {
					limit = {
						INT = {
							any_allied_country = {
								OR = {
									tag = FIN
									tag = EST
									tag = LAT
									tag = LIT
									tag = BLR
									tag = UKR
									tag = POL
								}
								is_subject = no
							}
						}
					}
					custom_effect_tooltip = tooltip_white_line
					every_other_country = {
						limit = {
							is_subject = no
							is_in_faction_with = INT
							OR = {
								tag = FIN

								tag = LAT
							}
						}
						country_event = russia_socialist_events.114
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			unlock_decision_category_tooltip = RUS_Spreading_The_Revolution_decisions
			hidden_effect = {
				MIE_form_intermarium = yes
				activate_targeted_decision = { target = FIN decision = RUS_Socialist_Protect_Baltics }
				activate_targeted_decision = { target = EST decision = RUS_Socialist_Protect_Baltics }
				activate_targeted_decision = { target = LIT decision = RUS_Socialist_Protect_Baltics }
				activate_targeted_decision = { target = LAT decision = RUS_Socialist_Protect_Baltics }
				activate_targeted_decision = { target = UKR decision = RUS_Socialist_Protect_Ukraine }
				activate_targeted_decision = { target = MON decision = RUS_attack_soc }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_defencism
		icon = GFX_focus_ITA_peasants_rise
		cost = 5

		relative_position_id = RUS_self_determination
		x = -3
		y = 1

		prerequisite = {
			focus = RUS_self_determination
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 100
				date > 1938.7.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_defencism"
			increase_conscription = yes
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_each_according_ability
		icon = GFX_focus_SOV_international_union_of_soviet_republics
		cost = 5

		relative_position_id = RUS_eastern_vanguard
		x = -1
		y = 1

		bypass = {
			OR = {
				has_completed_focus = RUS_franco_russian_treaty
				has_war_with = INT
				has_war_with = GER
				NOT = { country_exists = FRA }
			}
		}
		prerequisite = {
			focus = RUS_eastern_vanguard
		}
		ai_will_do = {
			factor = 10
			modifier = {
				add = 5
				date > 1938.1.1
			}
			modifier = {
				factor = 20
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_each_according_ability"
			if = {
				limit = {
					has_active_mission = RUS_allegiance_of_the_romanticists
				}
				add_days_mission_timeout = {
					mission = RUS_allegiance_of_the_romanticists
					days = 20
				}
			}
			if = {
				limit = { has_idea = RUS_INT_deal_2 }
				swap_ideas = {
					remove_idea = RUS_INT_deal_2
					add_idea = RUS_INT_deal_3
				}
				ENG = { add_ideas = RUS_INT_deal }
			}
			else_if = {
				limit = {
					NOT = {
						has_idea = RUS_INT_deal_2
						has_idea = RUS_INT_deal_3
					}
				}
				hidden_effect = {
					INT = { country_event = { id = russia_foreign_policy_events.105 days = 2 } }
					ENG = { country_event = { id = russia_foreign_policy_events.105 days = 4 } }
				}
				effect_tooltip = {
					add_ideas = RUS_INT_deal_3
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_recipent_gains
				effect_tooltip = {
					add_ideas = RUS_INT_deal
				}
				custom_effect_tooltip = RUS_remove_agreement_after_war
			}
			custom_effect_tooltip = RUS_soc_industrial_help_tt
			subtract_from_variable = { RUS_ic_cost_low = 10 }
			subtract_from_variable = { RUS_ic_cost_med = 10 }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_pool_armour_innovation
		icon = GFX_goal_generic_heavy_armour_french
		cost = 4

		relative_position_id = RUS_each_according_ability
		x = -1
		y = 1

		bypass = {
			has_war_with = INT
		}

		prerequisite = {
			focus = RUS_each_according_ability
		}
		ai_will_do = {
			factor = 10
			modifier = {
				add = 5
				date > 1938.1.1
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pool_armour_innovation"
			if = {
				limit = {
					has_active_mission = RUS_allegiance_of_the_romanticists
				}
				add_days_mission_timeout = {
					mission = RUS_allegiance_of_the_romanticists
					days = 20
				}
			}
			army_experience = 20
			add_war_support = 0.05
			if = {
				limit = {
					controls_province = 6338 #Kazan
					249 = { #Kazan
						is_fully_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				249 = { #Kazan
					custom_override_tooltip = {
						add_building_construction = {
							type = land_facility
							level = 1
							province = 6338 #Kazan
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = land_facility
							NUMBER = 1
							VP = 6338
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 249 251 256 399 651 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
			}
			add_tech_bonus = {
				name = RUS_pool_armour_innovation
				bonus = 1.0
				uses = 1
				category = armor
			}
			hidden_effect = {
				FRA = { country_event = russia_foreign_policy_events.11 }
				ENG = { country_event = russia_foreign_policy_events.11 }
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP }
	}

	focus = {
		id = RUS_american_revolution
		icon = GFX_goal_RUS_american_liberty
		cost = 3

		relative_position_id = RUS_defencism
		x = -1
		y = 1

		ai_will_do = { base = 10 }

		prerequisite = { focus = RUS_defencism }
		available = {
			WCA = {
				exists = yes
				any_controlled_state = { is_coastal = yes }
			}
		}
		bypass = {
			OR = {
				has_global_flag = USA_civil_war_over_flag
				WCA = { has_capitulated = yes }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_american_revolution"
			set_temp_variable = { ACW_supported_tag = WCA }
			add_ideas = RUS_america_attache
			set_variable = { ACW_supported_tag = WCA }
		}
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP }
	}

	focus = {
		id = RUS_comrades_abroad
		icon = GFX_focus_GER_liberate_exploited_colonial_workers
		cost = 5

		relative_position_id = RUS_eastern_vanguard
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_eastern_vanguard
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				date > 1938.5.1
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_comrades_abroad"
			GER = { country_event = russia_boldyrev_events.2 } #Boldyrev and the Kaiser
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_comrades_abroad"
			add_named_threat = {
				threat = 3
				name = RUS_comrades_abroad_threat
			}
			if = {
				limit = {
					has_active_mission = RUS_allegiance_of_the_romanticists
				}
				add_days_mission_timeout = {
					mission = RUS_allegiance_of_the_romanticists
					days = 20
				}
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = {
					RUS_vladimir_karelin = { is_hired_as_advisor = no }
					RUS_yevgeny_sattel = { is_hired_as_advisor = no }
				}
				if = {
					limit = {
						country_exists = CHI
					}
					add_relation_modifier = {
						target = CHI
						modifier = volunteer_limit_plus_one
					}
				}
				add_relation_modifier = {
					target = WCA
					modifier = volunteer_limit_plus_one
				}
				add_relation_modifier = {
					target = SWF
					modifier = volunteer_limit_plus_one
				}
				add_relation_modifier = {
					target = SRI
					modifier = volunteer_limit_plus_one
				}
				add_relation_modifier = {
					target = HND
					modifier = volunteer_limit_plus_one
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_our_comrades_abroad_tt
			}
			else = {
				if = {
					limit = {
						country_exists = CHI
					}
					add_relation_modifier = {
						target = CHI
						modifier = volunteer_limit_plus_three
					}
				}
				add_relation_modifier = {
					target = WCA
					modifier = volunteer_limit_plus_three
				}
				add_relation_modifier = {
					target = SWF
					modifier = volunteer_limit_plus_three
				}
				add_relation_modifier = {
					target = SRI
					modifier = volunteer_limit_plus_three
				}
				add_relation_modifier = {
					target = HND
					modifier = volunteer_limit_plus_three
				}
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					UKR = { has_country_leader = { character = UKR_volodymyr_vynnychenko } }
				}
				activate_targeted_decision = { target = UKR decision = RUS_cooperate_with_rds }
			}
			else = {
				activate_targeted_decision = { target = UKR decision = RUS_cooperate_with_borotbysts }
				hidden_effect = {
					country_event = { id = russia_socialist_events.182 days = 20 random_days = 20 }
				}
			}
			activate_targeted_decision = { target = POL decision = RUS_invite_revolutionary_committee }
			activate_targeted_decision = { target = BLR decision = RUS_secret_deal_with_belarus }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_liberate_central_asia
		icon = GFX_focus_generic_eagle
		cost = 5

		relative_position_id = RUS_eastern_vanguard
		x = 1
		y = 1

		available = {
			threat > 0.15
			RUS_has_black_monday = no
		}
		bypass = {
			OR = {
				has_country_flag = RUS_lost_central_asia_war
				is_subject = yes
				AND = {
					NOT = { can_declare_war_on = KAZ }
					NOT = { can_declare_war_on = TRK }
					NOT = { can_declare_war_on = BUK }
					NOT = { can_declare_war_on = KHI }
				}
			}
		}
		prerequisite = {
			focus = RUS_eastern_vanguard
		}
		prerequisite = {
			focus = RUS_defencism
		}
		will_lead_to_war_with = KAZ
		will_lead_to_war_with = TRK
		will_lead_to_war_with = BUK
		will_lead_to_war_with = KHI
		ai_will_do = {
			factor = 30
			modifier = {
				factor = 0
				RUS_dont_attack_if_vulnerable_or_preparing = yes
			}
			modifier = {
				factor = 100
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_liberate_central_asia"
			activate_targeted_decision = { target = 404 decision = RUS_central_asia_railroads }
			custom_effect_tooltip = RUS_CA_wargoals_tt
			add_named_threat = {
				threat = 4
				name = RUS_white_sun_of_desert
			}
			hidden_effect = {
				activate_targeted_decision = { decision = RUS_attack target = MON }
				activate_targeted_decision = { decision = RUS_attack target = SIK }
				activate_targeted_decision = { decision = RUS_attack target = ETS }
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = RUS_prepare_march_of_liberation
		icon = GFX_goal_RUS_liberation_march
		cost = 5
		relative_position_id = RUS_liberate_central_asia
		x = 1
		y = 1
		bypass = { has_war_with = GER }
		prerequisite = {
			focus = RUS_liberate_central_asia
		}
		available = {
			OR = {
				has_completed_focus = RUS_legacy_of_workers_army
				has_completed_focus = RUS_heirs_of_stavka
			}
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 10
				has_active_mission = RUS_allegiance_of_the_romanticists
			}
			modifier = {
				factor = 20
				date > 1939.1.1
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_prepare_march_of_liberation"
			GER = { country_event = russia_boldyrev_events.2 } #Boldyrev and the Kaiser
			country_event = { id = russia_socialist_events.57 days = 1 } #Drafting the Operation Kutuzov
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_prepare_march_of_liberation"
			add_named_threat = {
				threat = 3
				name = RUS_prepare_march_of_liberation_threat
			}
			if = {
				limit = {
					has_active_mission = RUS_allegiance_of_the_romanticists
				}
				add_days_mission_timeout = {
					mission = RUS_allegiance_of_the_romanticists
					days = 20
				}
			}
			if = {
				limit = {
					OR = {
						has_idea = RUS_anti_socialist_resistance_2
						has_idea = RUS_anti_socialist_resistance_3
					}
				}
				custom_effect_tooltip = RUS_soc_preparation_tt
				add_timed_idea = {
					idea = RUS_soc_war_preparation_2
					days = 720
				}
			}
			else_if = {
				limit = {
					OR = {
						has_idea = RUS_anti_socialist_resistance_4
						has_idea = RUS_anti_socialist_resistance_5
						has_idea = RUS_anti_socialist_resistance_6
					}
				}
				custom_effect_tooltip = RUS_soc_preparation_tt
				add_timed_idea = {
					idea = RUS_soc_war_preparation_1
					days = 720
				}
			}
			else = {
				custom_effect_tooltip = RUS_soc_preparation_tt_2
				add_timed_idea = {
					idea = RUS_soc_war_preparation_3
					days = 720
				}
			}
			if = {
				limit = { NOT = { has_completed_focus = RUS_petrograd_security } }
				custom_effect_tooltip = tooltip_white_line
				activate_targeted_decision = { target = RUS decision = RUS_fortify_the_petrograd_approaches }
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.57 days = 5 } #Drafting the Operation Kutuzov
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_anti_capitalist_warfare
		icon = GFX_goal_attack_germany
		cost = 5

		relative_position_id = RUS_liberate_central_asia
		x = 0
		y = 2

		cancelable = no

		available = {
			second_weltkrieg_can_start = yes
			is_faction_leader = yes
			if = {
				limit = {
					RUS_is_maximalist = yes
					is_ai = no
				}
				has_completed_focus = RUS_russian_socialism
				RUS_aleksey_ustinov = { is_second_in_command = yes }
				has_completed_focus = RUS_end_army_factionalism
				totalist > 0.50
				custom_override_tooltip = {
					check_variable = { RUS_maximalist_influence > 75 }
					tooltip = RUS_maximalist_influence_above_75
				}
				custom_override_tooltip = {
					check_variable = { RUS_maximalist_suspicion < 25 }
					tooltip = RUS_maximalist_suspicion_below_25
				}
			}
		}

		continue_if_invalid = yes

		cancel = {
			OR = {
				is_faction_leader = no
				has_country_flag = KR_copenhagen_conference_success
			}
		}

		bypass = {
			OR = {
				is_subject = yes
				NOT = { can_declare_war_on = GER }
			}
		}

		prerequisite = {
			focus = RUS_comrades_abroad
			focus = RUS_prepare_march_of_liberation
		}
		prerequisite = {
			focus = RUS_liberate_central_asia
		}
		will_lead_to_war_with = POL
		will_lead_to_war_with = BAT
		will_lead_to_war_with = EST
		will_lead_to_war_with = LAT
		will_lead_to_war_with = LIT
		will_lead_to_war_with = BLR
		will_lead_to_war_with = UKR
		will_lead_to_war_with = GAL
		will_lead_to_war_with = HUN
		will_lead_to_war_with = CZE
		will_lead_to_war_with = SLO
		will_lead_to_war_with = SLV
		will_lead_to_war_with = CRO
		will_lead_to_war_with = TRS
		will_lead_to_war_with = GEO
		will_lead_to_war_with = AZR
		ai_will_do = {
			factor = 3000
			modifier = {
				factor = 0
				date < 1939.6.1
			}
			modifier = {
				factor = 0
				RUS_dont_attack_if_vulnerable_or_preparing = yes
				NOT = { INT = { has_war_with = GER } }
			}
			modifier = {
				factor = 0
				UKR = {
					is_in_faction_with = GER
					RUS_dont_attack_if_target_is_stronger = yes
				}
				NOT = { INT = { has_war_with = GER } }
			}
			modifier = {
				factor = 0
				POL = {
					is_in_faction_with = GER
					RUS_dont_attack_if_target_is_stronger = yes
				}
				NOT = { INT = { has_war_with = GER } }
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_anti_capitalist_warfare"
			hidden_effect = {
				country_event = { id = russia_socialist_events.82 days = 7 } #Comrade Dan's Departure
				country_event = { id = russia_flavour_events.161 days = 365 } #Daughters of the Motherland
				country_event = russia_socialist_events.198
			}
			random_country = {
				limit = {
					is_ai = no
					OR = {
						has_country_flag = MIE_member
						AND = {
							OR = {
								original_tag = POL
								original_tag = UKR
							}
							is_in_faction_with = AUS
							AUS = { is_faction_leader = yes }
						}
					}
				}
				country_event = intermarium_events.19 # MIE hard mode #
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_anti_capitalist_warfare"
			hidden_effect = {
				country_event = { id = russia_socialist_events.433 days = 15 }
			}
			if = {
				limit = { RUS_is_maximalist = yes }
				hidden_effect = {
					RUS_aleksey_ustinov = { unit_leader_event = russia_socialist_events.145 } #The Necessary Measures
				}
				effect_tooltip = {
					set_politics = {
						ruling_party = totalist
						elections_allowed = no
					}
					custom_effect_tooltip = tooltip_white_line
				}
			}
			if = {
				limit = {
					UKR = {
						OR = {
							has_authoritarian_government = yes
							has_country_leader = { character = UKR_danylo_skoropadskyi }
						}
					}
				}
				set_country_flag = UKR_had_auth_govt
			}
			else_if = {
				limit = {
					UKR = {
						has_soclib_or_socdem_government = yes
						NOT = { has_country_leader = { character = UKR_volodymyr_vynnychenko } }
					}
				}
				set_country_flag = UKR_had_dem_govt
			}
			hidden_effect = {
				if = {
					limit = { has_global_flag = allow_sound_events_flag }
					scoped_play_song = "rus_katyusha"
				}
				RUS_fifth_column_effects = yes
				if = {
					limit = {
						is_ai = yes
						has_global_flag = MIE_east_no_help
						OR = {
							GER = {
								any_allied_country = {
									is_ai = no
									is_possible_intermarium_country = yes
								}
							}
							AUS = {
								any_allied_country = {
									is_ai = no
									is_possible_intermarium_country = yes
								}
							}
						}
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 100000
					}
				}
			}
			add_state_claim = 537 #South Sakhalin
			add_state_claim = 555 #Kurils
			if = {
				limit = { can_declare_war_on = GER }
				declare_war_on = {
					target = GER
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = BLR
					BLR = { has_socialist_government = no }
				}
				declare_war_on = {
					target = BLR
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = UKR
					UKR = { has_socialist_government = no }
				}
				declare_war_on = {
					target = UKR
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = BAT
					BAT = { has_socialist_government = no }
				}
				declare_war_on = {
					target = BAT
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = GEO
					GEO = {
						OR = {
							is_subject = no
							is_ally_with = GER
							is_guaranteed_by = GER
						}
					}
				}
				declare_war_on = {
					target = GEO
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = AZR
					AZR = {
						OR = {
							is_subject = no
							is_ally_with = GER
							is_guaranteed_by = GER
						}
					}
				}
				declare_war_on = {
					target = AZR
					type = annex_everything
				}
			}
			hidden_effect = {
				every_other_country = {
					limit = {
						is_in_faction_with = GER
						OR = {
							original_tag = FIN
							original_tag = EST
							original_tag = LAT
							original_tag = LIT
							original_tag = BLR
							original_tag = UKR
							original_tag = POL
						}
						ROOT = { can_declare_war_on = PREV }
					}
					add_to_war = {
						targeted_alliance = GER
						enemy = ROOT
					}
				}
				BLR = { country_event = { id = belarus_political_events.53 days = 2 } }
				country_event = { id = russia_socialist_events.388 days = 200 } #The New Normal
				RUS_western_march_plan = yes
			}
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_war_with_GER = 1 } #hides the event in the tooltip
			RUS_remove_german_economic_influence = yes
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = RUS_turn_east
		icon = GFX_focus_GER_strike_at_the_rising_sun
		cost = 4
		relative_position_id = RUS_comrades_abroad
		x = -1
		y = 1
		ai_will_do = {
			base = 50
			modifier = {
				factor = 0
				country_exists = GER
			}
		}
		prerequisite = {
			focus = RUS_comrades_abroad
		}
		available = {
			OR = {
				has_war_with = GER
				NOT = { country_exists = GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_turn_east"
			if = {
				limit = { has_idea = RUS_world_revolution }
				swap_ideas = {
					remove_idea = RUS_world_revolution
					add_idea = RUS_world_revolution_2
				}
			}
			else = {
				add_ideas = RUS_world_revolution
			}
			custom_effect_tooltip = tooltip_white_line
			add_war_support = 0.05
			activate_targeted_decision = { target = JAP decision = RUS_Socialist_Attack_Far_East }
			if = {
				limit = {
					var:439.owner = { has_socialist_government = no }
				}
				activate_targeted_decision = { target = 439.owner decision = RUS_Socialist_Attack_Far_East } #Delhi
			}
			if = {
				limit = {
					var:608.owner = { has_socialist_government = no }
				}
				activate_targeted_decision = { target = 608.owner decision = RUS_Socialist_Attack_Far_East } #Beijing
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = RUS_turn_south
		icon = GFX_focus_GER_align_middle_east
		cost = 4
		relative_position_id = RUS_comrades_abroad
		x = -3
		y = 1
		prerequisite = {
			focus = RUS_comrades_abroad
		}
		available = {
			NOT = { country_exists = GER }
		}
		ai_will_do = { base = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_turn_south"
			if = {
				limit = { has_idea = RUS_world_revolution }
				swap_ideas = {
					remove_idea = RUS_world_revolution
					add_idea = RUS_world_revolution_2
				}
			}
			else = {
				add_ideas = RUS_world_revolution
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = AFG decision = RUS_Socialist_Attack_Middle_East }
			activate_targeted_decision = { target = PER decision = RUS_Socialist_Attack_Middle_East }
			activate_targeted_decision = { target = TUR decision = RUS_Socialist_Attack_Middle_East }
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = RUS_rival_west
		icon = GFX_goal_LAT_soviet_union #GFX_focus_SOV_socialism_in_one_country
		cost = 5

		relative_position_id = RUS_anti_capitalist_warfare
		x = 1
		y = 1
		mutually_exclusive = {
			focus = RUS_abolish_war
		}
		available = {
			NOT = { country_exists = GER }
			FRA = { is_subject = no }
			ic_ratio = { tag = FRA ratio > 1 }
			ic_ratio = { tag = ENG ratio > 1 }
			NOT = { is_in_faction_with = INT }
		}
		prerequisite = {
			focus = RUS_anti_capitalist_warfare
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 100
				RUS_VST_right = yes
				INT = { has_government = totalist }
			}
			modifier = {
				add = 100
				RUS_VST_left = yes
			}
			modifier = {
				add = 100
				OR = {
					has_government = radical_socialist
					has_government = totalist
				}
			}
			modifier = {
				factor = 0
				has_game_rule = { rule = RUS_forpol option = RUS_FORPOL_INT }
				OR = {
					AND = {
						RUS_is_spiridonist = yes
						INT = { has_government = radical_socialist }
					}
					AND = {
						OR = {
							RUS_VST_right = yes
							RUS_VST_centre = yes
						}
						NOT = { INT = { has_government = totalist } }
					}
					RUS_VST_left = yes
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rival_west"
			if = {
				limit = {
					has_government = totalist
					INT = {
						OR = {
							has_government = radical_socialist
							has_government = syndicalist
						}
					}
				}
				custom_effect_tooltip = RUS_totalist_invite_countries_tt
			}
			else_if = {
				limit = {
					OR = {
						has_government = syndicalist
						has_government = radical_socialist
					}
					INT = { has_government = totalist }
				}
				custom_effect_tooltip = RUS_syndieradsoc_invite_countries_tt
				unlock_decision_tooltip = RUS_invite_rival_country
			}
			if = {
				limit = { RUS_is_maximalist = yes }
				country_event = russia_socialist_events.149
			}
			set_temp_variable = { ideology_change_var = 10 }
			change_ruling_party_popularity = yes
			country_event = russia_socialist_events.460
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_abolish_war
		icon = GFX_focus_ger_great_red_menace
		cost = 5
		relative_position_id = RUS_anti_capitalist_warfare
		x = -1
		y = 1
		mutually_exclusive = {
			focus = RUS_rival_west
		}
		available = {
			NOT = { country_exists = GER }
			NOT = {
				is_in_faction_with = INT
				has_war_with = INT
			}
		}
		prerequisite = {
			focus = RUS_anti_capitalist_warfare
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 200
				OR = {
					RUS_VST_centre = yes
					RUS_VST_right = yes
				}
				NOT = { INT = { has_government = totalist } }
			}
			modifier = {
				add = 50
				RUS_VST_left = yes
			}
			modifier = {
				add = 50
				RUS_is_spiridonist = yes
				INT = { has_government = radical_socialist }
			}
			modifier = {
				factor = 0
				has_game_rule = { rule = RUS_forpol option = RUS_FORPOL_RUS }
				NOT = {
					AND = {
						RUS_VST_right = yes
						NOT = { INT = { has_government = totalist } }
					}
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_abolish_war"
			add_named_threat = {
				threat = -25
				name = RUS_abolish_war
			}
			add_stability = 0.15
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
							tag = RUS
							is_in_faction_with = RUS
						}
					}
					INT = { add_to_faction = PREV }
				}
			}
			custom_effect_tooltip = RUS_abolish_war_tt
			add_ideas = RUS_INT_industrialisation
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_heir_of_world_revolution
		icon = GFX_goal_communist_world_revolution
		cost = 5
		relative_position_id = RUS_anti_capitalist_warfare
		x = 0
		y = 2
		allow_branch = {
			has_socialist_government = yes
			is_subject = no
		}
		available = {
			NOT = { country_exists = GER }
			is_subject = no
			OR = {
				is_in_faction = no
				is_faction_leader = yes
			}
			OR = {
				custom_override_tooltip = {
					tooltip = RUS_world_revolution_focus_tt
					tag = INT
				}
				custom_override_tooltip = {
					tooltip = RUS_world_revolution_focus_tt2
					NOT = { country_exists = INT }
				}
				INT = { is_subject_of = ROOT }
			}
		}
		prerequisite = {
			focus = RUS_anti_capitalist_warfare
		}
		ai_will_do = { base = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_heir_of_world_revolution"
			add_war_support = 0.15
			add_ideas = RUS_saviour_of_revolution
			hidden_effect = { news_event = world_news_events.484 }
			if = {
				limit = { NOT = { country_exists = INT } }
				save_global_event_target_as = KR_internationale_leader
				if = {
					limit = { is_in_faction = no }
					create_faction_from_template = { template = faction_template_internationale name = faction_fourth_internationale }
				}
				else = {
					set_faction_name = faction_fourth_internationale
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_socrus_spies
		icon = GFX_goal_secret_police
		cost = 6

		relative_position_id = RUS_self_determination
		x = 2
		y = 1
		available = {
			has_completed_focus = RUS_peoples_security_apparatus
		}
		prerequisite = {
			focus = RUS_self_determination
		}
		ai_will_do = { factor = 5 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_socrus_spies"
			if = {
				limit = { has_idea = RUS_vgpu_idea }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea
					add_idea = RUS_vgpu_idea_3
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_2 }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_2
					add_idea = RUS_vgpu_idea_4
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_lar }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_lar
					add_idea = RUS_vgpu_idea_lar_3
				}
			}
			else_if = {
				limit = { has_idea = RUS_vgpu_idea_lar_2 }
				swap_ideas = {
					remove_idea = RUS_vgpu_idea_lar_2
					add_idea = RUS_vgpu_idea_lar_4
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = RUS_vgpu_idea_lar
						add_idea = RUS_vgpu_idea_lar_3
					}
				}
			}
			if = {
				limit = { has_dlc_lar = yes }
				upgrade_intelligence_agency = upgrade_blueprint_stealing
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_vision_for_union
		icon = GFX_goal_Fight_for_Freedom
		cost = 6
		available = {
			num_subjects > 4
			any_subject_country = {
				has_autonomy_state = union_republic
			}
			NOT = { country_exists = GER }
		}
		relative_position_id = RUS_self_determination
		x = 4
		y = 1

		prerequisite = {
			focus = RUS_self_determination
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_vision_for_union"
			hidden_effect = {
				country_event = { id = russia_socialist_events.178 days = 50 random_days = 50 }
				country_event = { id = russia_socialist_events.179 days = 100 random_days = 50 }
			}
			add_war_support = -0.1
			country_event = russia_socialist_events.420 #Conference of the Labour Congress
			country_event = { id = russia_socialist_events.406 days = 20 random_days = 10 }
			every_country = {
				limit = {
					is_subject_of = RUS
					has_autonomy_state = union_republic
				}
				country_event = russia_socialist_events.420
			}
			hidden_effect = {
				country_event = { id = russia_democratic_events.166 days = 100 random_days = 180 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_develop_poorer_republics
		icon = GFX_focus_generic_agricultural_subsidies
		cost = 5

		relative_position_id = RUS_vision_for_union
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_vision_for_union
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_develop_poorer_republics"
			RUS_activate_central_asia_industry = yes
			random_subject_country = {
				limit = {
					num_of_owned_factories < 40
					is_baltic_tag = yes
				}
				add_one_random_infrastructure = yes
				add_one_random_civilian_factory = yes
			}
			random_subject_country = {
				limit = {
					num_of_owned_factories < 40
					OR = {
						tag = GEO
						tag = ARM
						tag = AZR
					}
				}
				add_one_random_infrastructure = yes
				add_one_random_civilian_factory = yes
			}
			random_subject_country = {
				limit = { is_central_asian_tag = yes }
				add_one_random_infrastructure = yes
				add_one_random_civilian_factory = yes
			}
			RUS_decrease_antisoc_resistance = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_rebuilding_liberated_lands
		icon = GFX_focus_generic_low_cost_housing
		cost = 5

		relative_position_id = RUS_vision_for_union
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_vision_for_union
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rebuilding_liberated_lands"
			hidden_effect = {
				country_event = { id = russia_socialist_events.393 days = 20 random_days = 20 }
			}
			every_country = {
				limit = {
					OR = {
						tag = RUS
						has_autonomy_state = union_republic
					}
				}
				add_timed_idea = {
					idea = RUS_soc_rebuilding
					days = 365
				}
			}
			RUS_decrease_antisoc_resistance = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = RUS_union_of_peoples
		icon = GFX_focus_ITA_corpo_volontari_della_liberta
		cost = 6

		relative_position_id = RUS_vision_for_union
		x = 0
		y = 2
		available = {
			RUS_VST_left = no
		}
		mutually_exclusive = {
			focus = RUS_peoples_union
		}
		prerequisite = {
			focus = RUS_rebuilding_liberated_lands
		}
		prerequisite = {
			focus = RUS_develop_poorer_republics
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_union_of_peoples"
			hidden_effect = {
				country_event = { id = russia_flavour_events.149 days = 100 random_days = 50 }
			}
			add_stability = 0.1
			every_subject_country = {
				limit = { has_autonomy_state = union_republic }
				ROOT = {
					set_autonomy = {
						target = PREV
						autonomy_state = union_republic_autonomous
						end_wars = no
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_expansion_of_union
		icon = GFX_goal_generic_spreading_the_revolution #GFX_socialist_constitution
		cost = 6

		relative_position_id = RUS_union_of_peoples
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_union_of_peoples
		}

		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_expansion_of_union"
			country_event = { id = russia_socialist_events.409 days = 25 }
		}

		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_expansion_of_union"
			custom_effect_tooltip = RUS_control_ally_politics_tt
			custom_effect_tooltip = tooltip_white_line
			add_political_power = 50
			custom_effect_tooltip = RUS_expand_str_tt
			add_to_array = { RUS_SSTR_tags = FIN }
			add_to_array = { RUS_SSTR_tags = SWE }
			add_to_array = { RUS_SSTR_tags = NOR }
			add_to_array = { RUS_SSTR_tags = DEN }
			add_to_array = { RUS_SSTR_tags = POL }
			add_to_array = { RUS_SSTR_tags = ROM }
			add_to_array = { RUS_SSTR_tags = TRS }
			add_to_array = { RUS_SSTR_tags = GAL }
			add_to_array = { RUS_SSTR_tags = SLO }
			add_to_array = { RUS_SSTR_tags = CZE }
			add_to_array = { RUS_SSTR_tags = HUN }
			add_to_array = { RUS_SSTR_tags = BUL }
			add_to_array = { RUS_SSTR_tags = GRE }
			add_to_array = { RUS_SSTR_tags = CYP }
			add_to_array = { RUS_SSTR_tags = SER }
			add_to_array = { RUS_SSTR_tags = CRO }
			add_to_array = { RUS_SSTR_tags = BOS }
			add_to_array = { RUS_SSTR_tags = PRE }
			add_to_array = { RUS_SSTR_tags = EPR }
			add_to_array = { RUS_SSTR_tags = ALB }
			add_to_array = { RUS_SSTR_tags = MNT }
			add_to_array = { RUS_SSTR_tags = TRS }
			add_to_array = { RUS_SSTR_tags = SLV }
			add_to_array = { RUS_SSTR_tags = WLS }
			add_to_array = { RUS_SSTR_tags = SCO }
			add_to_array = { RUS_SSTR_tags = CAT }
			add_to_array = { RUS_SSTR_tags = GLC }
			add_to_array = { RUS_SSTR_tags = BAS }
			add_to_array = { RUS_SSTR_tags = BRI }
			add_to_array = { RUS_SSTR_tags = PER }
			add_to_array = { RUS_SSTR_tags = TUR }
			add_to_array = { RUS_SSTR_tags = KUR }
			add_to_array = { RUS_SSTR_tags = AFG }
			add_to_array = { RUS_SSTR_tags = MON }
			add_to_array = { RUS_SSTR_tags = ETS }
			add_to_array = { RUS_SSTR_tags = KUM }
			add_to_array = { RUS_SSTR_tags = MAN }
			if = {
				limit = { has_country_leader = { character = RUS_grigory_maksimov } }
				every_possible_country = {
					limit = {
						var:original_tag = { is_in_europe = yes }
						NOT = { has_autonomy_state = union_republic }
						NOT = { has_autonomy_state = union_republic_autonomous }
					}
					add_to_array = { ROOT.RUS_SSTR_tags = THIS }
				}
				for_each_scope_loop = {
					array = RUS_SSTR_tags
					if = {
						limit = {
							OR = {
								has_autonomy_state = union_republic
								has_autonomy_state = union_republic_autonomous
							}
						}
						add_to_temp_array = { tags_to_remove = THIS }
					}
				}
				for_each_loop = {
					array = tags_to_remove
					remove_from_array = { RUS_SSTR_tags = v }
				}
			}
			custom_effect_tooltip = tooltip_white_line
			every_neighbor_country = {
				limit = {
					has_authoritarian_government = yes
					NOT = { has_non_aggression_pact_with = ROOT }
					OR = {
						original_tag = FIN
						original_tag = SWE
						original_tag = NOR
						original_tag = POL
						original_tag = ROM
						original_tag = GAL
						original_tag = SLO
						original_tag = CZE
						original_tag = HUN
						original_tag = BUL
						original_tag = GRE
						original_tag = SER
						original_tag = CRO
						original_tag = BOS
						original_tag = PRE
						original_tag = ALB
						original_tag = MNT
						original_tag = TRV
						original_tag = SLV
						original_tag = PER
						original_tag = AFG
						original_tag = MON
						original_tag = ETS
						original_tag = KUM
						original_tag = MAN
					}
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = RUS_increased_devolution
		icon = GFX_goal_generic_solidarity
		cost = 6

		relative_position_id = RUS_union_of_peoples
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_union_of_peoples
		}
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_increased_devolution"
			#add some event
			add_ideas = RUS_soc_economic_area
			every_subject_country = {
				limit = { has_autonomy_state = union_republic_autonomous }
				add_ideas = RUS_soc_economic_area
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_peoples_union
		icon = GFX_focus_GER_the_peoples_victory #GFX_goal_harness_peoples_will
		cost = 6

		relative_position_id = RUS_vision_for_union
		x = 2
		y = 2
		available = {
			NOT = {
				has_country_leader = { character = RUS_vladimir_levitsky }
				has_country_leader = { character = RUS_grigory_maksimov }
			}
			RUS_is_spiridonist = no
			RUS_VST_right = no
		}
		mutually_exclusive = {
			focus = RUS_union_of_peoples
		}
		prerequisite = {
			focus = RUS_rebuilding_liberated_lands
		}
		prerequisite = {
			focus = RUS_develop_poorer_republics
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_peoples_union"
			custom_effect_tooltip = RUS_control_ally_politics_tt
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_government = totalist }
				every_subject_country = {
					add_popularity = { ideology = totalist popularity = 0.2 }
					add_one_random_military_factory = yes
				}
			}
			else = {
				every_subject_country = {
					add_popularity = { ideology = syndicalist popularity = 0.2 }
					add_one_random_civilian_factory = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_centralise_authority
		icon = GFX_focus_generic_authoritarian_government
		cost = 6

		relative_position_id = RUS_peoples_union
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_peoples_union
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_centralise_authority"
			country_event = russia_socialist_events.407
			add_political_power = -75
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_centralised_union_government
			UKR = {
				if = {
					limit = { is_subject_of = ROOT }
					add_ideas = RUS_centralised_union_government_puppet
				}
			}
			BLR = {
				if = {
					limit = { is_subject_of = ROOT }
					add_ideas = RUS_centralised_union_government_puppet
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_PRODUCTION }
	}
	focus = {
		id = RUS_coordinate_development
		icon = GFX_focus_BRA_utilize_security_law
		cost = 10
		available = {
			if = {
				limit = { RUS_is_maximalist = yes }
				has_completed_focus = RUS_the_maximalist_constitution
			}
			else_if = {
				limit = { has_country_leader = { character = RUS_grigory_zinovyev } }
				has_completed_focus = RUS_zinovyev_constitution
			}
			else = {
				OR = {
					has_completed_focus = RUS_workers_state
					has_completed_focus = RUS_party_state
				}
			}
			if = {
				limit = { is_ai = no }
				divisions_in_state = { size > 4 state = 202 } #Kyiv
				divisions_in_state = { size > 4 state = 221 } #Kharkiv
				divisions_in_state = { size > 4 state = 192 } #Odessa
				divisions_in_state = { size > 4 state = 206 } #Minsk
			}
			all_subject_countries = {
				controls_all_owned_states = yes
			}
		}
		relative_position_id = RUS_peoples_union
		x = 0
		y = 2
		prerequisite = {
			focus = RUS_peoples_union
		}
		prerequisite = {
			focus = RUS_centralise_authority
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_coordinate_development"
			country_event = { id = russia_socialist_events.408 days = 30 }
		}
		continue_if_invalid = yes

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				any_subject_country = {
					has_autonomy_state = union_republic
					is_ai = no
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_coordinate_development"
			hidden_effect = { news_event = { id = russia_news_events.25 days = 1 } }
			country_event = russia_socialist_events.451 #Treaty of Organisation of Union of Labour Republics
			add_stability = -0.15
			custom_effect_tooltip = tooltip_white_line
			RUS_enable_union_integration = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_is_maximalist = yes
				}
				set_cosmetic_tag = RUS_maximalist_union
			}
			else = {
				set_cosmetic_tag = RUS_vst_union
			}
			every_subject_country = {
				limit = { has_autonomy_state = union_republic }
				ROOT = {
					annex_country = {
						target = PREV
						transfer_troops = no
					}
				}
			}
			hidden_effect = {
				RUS_add_union_autonomies = yes
				every_owned_state = {
					limit = {
						NOT = { is_core_of = ROOT }
						NOT = { is_claimed_by = ROOT }
						OR = {
							is_core_of = RUS
							is_core_of = UKR
							is_core_of = BLR
							is_core_of = RSA
							is_central_asia = yes
							is_core_of = GEO
							is_core_of = ARM
							is_core_of = AZR
							region = 37 # Baltic States
							state = 537 #South Sakhalin
							state = 555 #Kuril Islands
							state = 577 #North Sakhalin
							state = 91 #Lwow
							state = 73 #Transcarpathia
							state = 78 #Bessarabia
							state = 97 #Bialystok
						}
					}
					add_claim_by = ROOT
				}
			}
			swap_ideas = {
				remove_idea = RUS_centralised_union_government
				add_idea = RUS_centralised_union_government_2
			}
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}

### VST Post-War
	focus = {
		id = RUS_right_victory
		icon = GFX_goal_FIN_edistys
		cost = 5
		allow_branch = {
			RUS_VST = yes
			is_subject = no
		}
		available = {
			RUS_VST_right = yes
			NOT = { country_exists = GER }
		}
		mutually_exclusive = {
			focus = RUS_centre_victory
			focus = RUS_left_victory
			focus = RUS_totalist_victory
		}
		x = -5
		y = 15
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_right_victory"
			country_event = russia_socialist_events.394
			hidden_effect = {
				country_event = { id = russia_flavour_events.183 days = 15 random_days = 5 }
			}
			custom_effect_tooltip = tooltip_white_line
			add_stability = 0.05
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_centre_relation = yes
			RUS_SDS_relation = yes
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_centre_victory
		icon = {
			trigger = { has_completed_focus = RUS_devolution_party }
			value = GFX_focus_ARG_no_gods_no_masters
		}
		icon = {
			trigger = { NOT = { has_completed_focus = RUS_devolution_party } }
			value = GFX_focus_NORDIC_com_institution_1
		}
		cost = 5
		allow_branch = {
			RUS_VST = yes
			is_subject = no
		}
		available = {
			OR = {
				has_country_leader = { character = RUS_vladimir_levitsky }
				has_country_leader = { character = RUS_daniil_sulimov }
				has_country_leader = { character = RUS_aleksandr_shlyapnikov }
			}
			NOT = { country_exists = GER }
		}
		mutually_exclusive = {
			focus = RUS_right_victory
			focus = RUS_left_victory
			focus = RUS_totalist_victory
		}
		relative_position_id = RUS_right_victory
		x = 3
		y = 0
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_centre_victory"
			if = {
				limit = {
					RUS_grigory_maksimov = { is_second_in_command = yes }
				}
				custom_effect_tooltip = RUS_maksimov_focus_tt
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.398 days = 180 random_days = 20 } #The Dual Party System
				country_event = { id = russia_socialist_events.399 days = 15 } #Devolution of State
				if = {
					limit = {
						has_country_leader = { character = RUS_vladimir_levitsky }
					}
					country_event = { id = russia_flavour_events.183 days = 15 random_days = 5 }
					else = {
						country_event = { id = russia_flavour_events.184 days = 15 random_days = 5 }
					}
				}
			}
			add_stability = 0.05
			add_popularity = { ideology = syndicalist popularity = 0.05 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_left_victory
		icon = GFX_goal_ideology_libsoc
		cost = 5
		allow_branch = {
			RUS_VST = yes
			is_subject = no
		}
		available = {
			OR = {
				has_country_leader = { character = RUS_lev_kamenev }
				has_country_leader = { character = RUS_mikhail_tomsky }
			}
			NOT = { country_exists = GER }
		}
		mutually_exclusive = {
			focus = RUS_right_victory
			focus = RUS_centre_victory
			focus = RUS_totalist_victory
		}
		relative_position_id = RUS_right_victory
		x = 6
		y = 0
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_left_victory"
			hidden_effect = {
				country_event = { id = russia_socialist_events.401 days = 180 random_days = 20 }
				country_event = { id = russia_flavour_events.184 days = 15 random_days = 5 }
			}
			add_popularity = { ideology = syndicalist popularity = 0.05 }
			add_political_power = 80
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_totalist_victory
		icon = GFX_goal_generic_army_mass_assault
		cost = 6
		allow_branch = {
			RUS_VST = yes
			is_subject = no
		}
		available = {
			has_country_leader = { character = RUS_grigory_zinovyev }
			has_government = totalist
			NOT = { country_exists = GER }
		}
		mutually_exclusive = {
			focus = RUS_right_victory
			focus = RUS_centre_victory
			focus = RUS_left_victory
		}
		relative_position_id = RUS_right_victory
		x = 9
		y = 0
		ai_will_do = { factor = 50 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_totalist_victory"
			hidden_effect = {
				country_event = { id = russia_socialist_events.401 days = 180 random_days = 20 }
				country_event = { id = russia_flavour_events.184 days = 15 random_days = 5 }
			}
			add_political_power = 100
			add_popularity = { ideology = totalist popularity = 0.05 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_demilitarise_industry
		icon = GFX_goal_graveyard
		cost = 5

		relative_position_id = RUS_right_victory
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_right_victory
			focus = RUS_centre_victory
			focus = RUS_left_victory
		}
		available = {
			all_neighbor_country = { NOT = { has_war_with = ROOT } }
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_demilitarise_industry"
			add_war_support = -0.1
			add_stability = 0.1
			decrease_economic_mobilisation = yes
			random_owned_controlled_state = {
				limit = { arms_factory > 2 }
				remove_building = { type = arms_factory level = 3 }
				add_building_construction = { type = industrial_complex level = 3 }
			}
			random_owned_controlled_state = {
				limit = { arms_factory > 1 }
				remove_building = { type = arms_factory level = 2 }
				add_building_construction = { type = industrial_complex level = 2 }
			}
			random_owned_controlled_state = {
				limit = { arms_factory > 1 }
				remove_building = { type = arms_factory level = 2 }
				add_building_construction = { type = industrial_complex level = 2 }
			}
			random_owned_controlled_state = {
				limit = { arms_factory > 1 }
				remove_building = { type = arms_factory level = 2 }
				add_building_construction = { type = industrial_complex level = 2 }
			}
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_right_relation = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_market_incentives
		icon = GFX_focus_ETH_adopt_the_lira
		cost = 5

		relative_position_id = RUS_right_victory
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_right_victory
		}
		mutually_exclusive = {
			focus = RUS_towards_cybernetics
		}
		available = {
			OR = {
				has_idea = RUS_NEP
				has_idea = RUS_NEP_SDS
			}
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_market_incentives"
			country_event = russia_socialist_events.395
			custom_effect_tooltip = tooltip_white_line
			add_popularity = { ideology = syndicalist popularity = -0.075 }
			if = {
				limit = { has_idea = RUS_NEP_SDS }
				swap_ideas = {
					remove_idea = RUS_NEP_SDS
					add_idea = RUS_NEP_SDS_2
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_NEP
					add_idea = RUS_NEP_SDS
				}
			}
			add_one_random_civilian_factory = yes
			add_one_random_civilian_factory = yes
			RUS_decrease_antisoc_resistance = yes
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_SDS_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_devolve_power
		icon = GFX_goal_broken_red_star
		cost = 5

		relative_position_id = RUS_centre_victory
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_centre_victory
			focus = RUS_right_victory
			focus = RUS_left_victory
		}
		available = {
			is_in_coalition_with_radical_socialist = yes
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_devolve_power"
			add_popularity = { ideology = radical_socialist popularity = 0.08 }
			add_popularity = { ideology = social_democrat popularity = 0.04 }
			add_stability = 0.1
			custom_effect_tooltip = tooltip_white_line
			RUS_increase_VST_centre_unity = yes
			RUS_decrease_antisoc_resistance = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_centre_relation = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_mass_urbanisation
		icon = GFX_focus_SWE_urbanization #focus_ARG_the_buenos_aires_conference
		cost = 5

		relative_position_id = RUS_centre_victory
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_right_victory
			focus = RUS_centre_victory
			focus = RUS_left_victory
			focus = RUS_totalist_victory
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mass_urbanisation"
			add_timed_idea = {
				idea = RUS_urbanisation_drive
				days = 720
			}
			223 = { increase_state_category_by_one_level = yes }
			239 = { increase_state_category_by_one_level = yes }
			252 = { increase_state_category_by_one_level = yes }
			653 = { increase_state_category_by_one_level = yes }
			570 = { increase_state_category_by_one_level = yes }
			407 = { increase_state_category_by_one_level = yes }
			RUS_decrease_antisoc_resistance = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_towards_cybernetics
		icon = GFX_EGY_Radio_Free_Cairo
		cost = 5

		relative_position_id = RUS_mass_urbanisation
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_mass_urbanisation
		}
		mutually_exclusive = {
			focus = RUS_market_incentives
		}
		available = {
			num_of_factories > 300
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_towards_cybernetics"
			country_event = russia_socialist_events.396
			custom_effect_tooltip = tooltip_white_line
			add_political_power = -100
			add_popularity = { ideology = syndicalist popularity = 0.05 }
			add_research_slot_until_six = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_transformation_of_nature
		icon = GFX_focus_generic_hydroelectric_energy
		cost = 5

		relative_position_id = RUS_mass_urbanisation
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_mass_urbanisation
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_transformation_of_nature"
			country_event = russia_socialist_events.397
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_subjugation_of_nature
			activate_targeted_decision = { decision = RUS_eurasia_canal target = 235 }
			activate_targeted_decision = { decision = RUS_transcaspian_canal target = 861 }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_workers_state
		icon = GFX_focus_generic_workers
		cost = 5

		relative_position_id = RUS_left_victory
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_centre_victory
			focus = RUS_left_victory
		}
		available = {
			set_temp_variable = { RUS_relation_check = 4 }
			RUS_sr_check = yes
			RUS_workers_coalition_ending_status = no
		}
		mutually_exclusive = {
			focus = RUS_party_state
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_workers_state"
			country_event = { id = russia_socialist_events.424 days = 30 }
			custom_effect_tooltip = tooltip_white_line
			add_popularity = { ideology = syndicalist popularity = 0.05 }
			add_popularity = { ideology = totalist popularity = 0.05 }
			add_popularity = { ideology = radical_socialist popularity = 0.05 }
			set_temp_variable = { RUS_relation_change = 2 }
			RUS_VST_left_relation = yes
			RUS_VST_centre_relation = yes
			RUS_VST_right_relation = yes
			RUS_RKP_relation = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_party_state
		icon = GFX_goal_red_star_gold_wreath
		cost = 5

		relative_position_id = RUS_left_victory
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_left_victory
			focus = RUS_totalist_victory
		}
		available = {
			set_temp_variable = { RUS_relation_check = 4 }
			RUS_sr_check = yes
			RUS_workers_coalition_ending_status = yes
		}
		mutually_exclusive = {
			focus = RUS_workers_state
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_party_state"
			if = {
				limit = {
					has_country_leader = { character = RUS_lev_kamenev }
				}
				country_event = russia_socialist_events.425
			}
			else = {
				country_event = russia_socialist_events.400
			}
			custom_effect_tooltip = tooltip_white_line
			add_country_leader_trait = RUS_avenger_of_october
			set_temp_variable = { ideology_change_var = 15 }
			change_ruling_party_popularity = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_indoctrination
		icon = GFX_goal_RUS_socialist_lone_warrior
		cost = 5

		relative_position_id = RUS_left_victory
		x = 1
		y = 2

		prerequisite = {
			focus = RUS_workers_state
			focus = RUS_party_state
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_indoctrination"
			country_event = russia_socialist_events.428
			add_stability = 0.1
			if = {
				limit = { has_government = totalist }
				add_popularity = { ideology = totalist popularity = 0.1 }
			}
			else = {
				add_popularity = { ideology = syndicalist popularity = 0.05 }
			}
			RUS_decrease_antisoc_resistance = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_zinovyev_constitution
		icon = GFX_goal_syndicalist_lenin
		cost = 5

		relative_position_id = RUS_totalist_victory
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_totalist_victory
		}
		available = {
			has_completed_focus = RUS_preserve_revolution_within
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_zinovyev_constitution"
			country_event = russia_socialist_events.402
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = RUS_to_protect_democracy_1 }
				swap_ideas = {
					remove_idea = RUS_to_protect_democracy_1
					add_idea = RUS_zinovyev_constitution_1
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_to_protect_democracy_2
					add_idea = RUS_zinovyev_constitution_2
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_turn_puppets_totalist_tt
			hidden_effect = {
				every_country = {
					limit = {
						is_subject_of = RUS
						is_ai = yes
						NOT = {
							has_government = totalist
							is_german_tag = yes
						}
					}
					set_politics = {
						ruling_party = totalist
						elections_allowed = no
					}
					add_popularity = {
						ideology = totalist
						popularity = 0.35
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	### Economic Tree ###
	focus = {
		id = RUS_relief_work
		icon = GFX_focus_ICE_embrace_the_workers_revolution
		cost = 5
		x = 13
		y = 1
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				is_subject = yes
			}
		}
		offset = {
			y = 1
			x = 12
			trigger = { RUS_is_demrus = yes }
		}
		offset = {
			x = -2
			trigger = { RUS_wrangel_path = yes }
		}
		offset = {
			x = -27
			y = 8
			trigger = { has_socialist_government = yes }
		}
		#offset = {
		#	y = -1
		#	trigger = { RUS_is_maximalist = yes }
		#}
		available = {
			has_country_flag = RUS_Black_Monday_Happened
		}
		ai_will_do = {
			factor = 12
			modifier = {
				add = 20
				RUS_has_black_monday = yes
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_savinkov_ai
				NOT = { has_completed_focus = RUS_gosstrazha }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_relief_work"
			if = {
				limit = { RUS_has_black_monday = yes }
				RUS_decrease_black_monday = yes
			}
			else_if = {
				limit = {
					RUS_has_black_monday = no
					RUS_savinkov = yes
				}
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_popular_anger = yes
			}
			else_if = {
				limit = {
					RUS_has_black_monday = no
					RUS_savinkov = no
					has_socialist_government = no
				}
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
			else = {
				add_stability = 0.05
			}
			activate_targeted_decision = { target = 254 decision = RUS_improve_roads_in_central_russia }
			activate_targeted_decision = { target = 263 decision = RUS_improve_roads_in_northern_russia }
			activate_targeted_decision = { target = 217 decision = RUS_improve_roads_in_the_volga_basin }
			if = {
				limit = { NOT = { has_country_flag = RUS_BM_solved } }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_BM_recovery_tt
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_modernise_transsiberian
		icon = GFX_goal_generic_railroad
		cost = 5

		relative_position_id = RUS_relief_work
		x = -1
		y = 1
		available = {
			if = {
				limit = { has_government = national_populist }
				has_completed_focus = RUS_voskhod
			}
			else = {
				always = yes
			}
		}
		prerequisite = {
			focus = RUS_relief_work
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 6
				has_active_mission = RUS_siberian_direction
			}
			modifier = {
				factor = 6
				has_active_mission = RUS_promised_jobs
			}
			modifier = {
				factor = 10
				has_country_flag = RUS_empire_ai
				has_government = paternal_autocrat
				NOT = {
					has_country_flag = RUS_sr_ai
				}
			}
			modifier = {
				factor = 6
				OR = {
					has_country_flag = RUS_zdobnov_ai
					has_country_flag = RUS_kamkov_ai
				}
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
				has_government = paternal_autocrat
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_modernise_transsiberian"
			if = {
				limit = {
					has_active_mission = RUS_siberian_direction
					has_government = radical_socialist
				}
				add_days_mission_timeout = {
					mission = RUS_siberian_direction
					days = 60
				}
			}
			else_if = {
				limit = { has_government = radical_socialist }
				set_country_flag = RUS_increased_siberia_days
			}
			add_tech_bonus = {
				name = RUS_modernise_transsiberian
				bonus = 1
				uses = 2
				category = construction_tech
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = 400 decision = RUS_northern_route }
			activate_targeted_decision = { target = 651 decision = RUS_upgrade_the_railroad_chelyabinsk }
			activate_targeted_decision = { target = 570 decision = RUS_upgrade_the_railroad_krasnoyarsk }
			activate_targeted_decision = { target = 657 decision = RUS_upgrade_the_railroad_vladivostok }
			if = {
				limit = { NOT = { has_country_flag = RUS_BM_solved } }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = RUS_BM_recovery_tt
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_urban_housing_projects
		icon = GFX_focus_generic_low_cost_housing
		cost = 5

		relative_position_id = RUS_relief_work
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_relief_work
		}
		available = {
			if = {
				limit = { has_government = national_populist }
				has_completed_focus = RUS_voskhod
			}
			else = {
				always = yes
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				add = 5
				RUS_has_black_monday = yes
			}
			modifier = {
				add = 10
				check_variable = { RUS_left_anger > 3 }
			}
			modifier = {
				add = 10
				date > 1938.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_urban_housing_projects"
			if = {
				limit = { RUS_has_black_monday = yes }
				RUS_decrease_black_monday = yes
			}
			else = {
				add_stability = 0.05
			}
			195 = { increase_state_category_by_one_level = yes }
			242 = { increase_state_category_by_one_level = yes }
			249 = { increase_state_category_by_one_level = yes }
			263 = { increase_state_category_by_one_level = yes }
			572 = { increase_state_category_by_one_level = yes }
			651 = { increase_state_category_by_one_level = yes }
			if = {
				limit = { has_idea = RUS_left_anger }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
			custom_effect_tooltip = tooltip_white_line
			set_country_flag = putilovets_improved
			if = { #Tooltip for those that have MIOs
				limit = { has_dlc_aat = yes }
				if = {
					limit = { has_country_flag = RUS_rename_industries }
					mio:RUS_putilovets_organisation = {
						unlock_mio_trait_tooltip = {
							trait = putilovets_upgrade_2_1_soc_rus
						}
					}
				}
				else = {
					mio:RUS_putilovets_organisation = {
						unlock_mio_trait_tooltip = {
							trait = putilovets_upgrade_2_1
						}
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = putilovets
				}
				show_ideas_tooltip = putilovets_improved
				hidden_effect = {
					if = {
						limit = { has_idea = putilovets }
						swap_ideas = {
							remove_idea = putilovets
							add_idea = putilovets_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_industrialise_eastern_europe
		icon = GFX_goal_RUS_east_europe_industry
		cost = 5

		relative_position_id = RUS_modernise_transsiberian
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_modernise_transsiberian
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 20
				has_active_mission = RUS_promised_jobs
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_industrialise_eastern_europe"
			add_tech_bonus = {
				name = RUS_industrialise_eastern_europe
				bonus = 1
				uses = 1
				category = industry
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = 235 decision = RUS_stavropol_hydroelectric_dam }
			activate_targeted_decision = { target = 258 decision = RUS_lipetsk_metallurgical_plant }
			activate_targeted_decision = { target = 217 decision = RUS_tsaritsyn_tractor_plant }
			activate_targeted_decision = { target = 220 decision = RUS_kursk_tractor_plant }
			activate_targeted_decision = { target = 218 decision = RUS_rostselmash }
			if = {
				limit = { has_idea = RUS_left_anger }
				custom_effect_tooltip = tooltip_white_line
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_industrialise_urals
		icon = GFX_goal_RUS_urals_industry
		cost = 5

		relative_position_id = RUS_modernise_transsiberian
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_modernise_transsiberian
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 20
				has_active_mission = RUS_promised_jobs
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_industrialise_urals"
			572 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = industrial_complex level = 1 }
			}
			653 = {
				add_extra_state_shared_building_slots = 1
			}
			custom_effect_tooltip = tooltip_white_line
			RUS_activate_siberian_industry = yes
			if = {
				limit = { has_idea = RUS_left_anger }
				custom_effect_tooltip = tooltip_white_line
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_industrialise_siberia
		icon = GFX_goal_RUS_siberia_industry
		cost = 5

		relative_position_id = RUS_modernise_transsiberian
		x = 0
		y = 2

		available = {
			custom_override_tooltip = {
				tooltip = { localization_key = has_completed_decision DECISION = RUS_northern_route }
				has_country_flag = RUS_northern_route_completed
			}
			custom_override_tooltip = {
				tooltip = { localization_key = has_completed_decision DECISION = RUS_upgrade_the_railroad_vladivostok }
				has_country_flag = RUS_upgrade_the_railroad_vladivostok_completed
			}
		}
		prerequisite = {
			focus = RUS_modernise_transsiberian
		}
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 25
				has_active_mission = RUS_siberian_direction
			}
			modifier = {
				factor = 20
				has_active_mission = RUS_promised_jobs
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_industrialise_siberia"
			if = {
				limit = {
					has_active_mission = RUS_siberian_direction
					NOT = { has_country_flag = RUS_increased_siberia_days }
				}
				add_days_mission_timeout = {
					mission = RUS_siberian_direction
					days = 60
				}
			}
			add_resource = {
				type = aluminium
				amount = 12
				state = 583
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = 569 decision = RUS_kuznetsk_basin }
			activate_targeted_decision = { target = 565 decision = RUS_bodaybo_gold_mines }
			activate_targeted_decision = { target = 409 decision = RUS_far_eastern_fishing_industry }
			activate_targeted_decision = { target = 568 decision = RUS_krasnoyarskpromstroy }
			activate_targeted_decision = { target = 409 decision = RUS_dalnremmash }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_academy_of_sciences
		icon = GFX_goal_PAN_Create_the_Universidad_de_Panama
		cost = 5

		relative_position_id = RUS_urban_housing_projects
		x = 1
		y = 1
		available = {
			num_of_owned_factories > 100
		}
		continue_if_invalid = yes
		prerequisite = {
			focus = RUS_urban_housing_projects
		}
		ai_will_do = { factor = 25 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_academy_of_sciences"
			add_research_slot_until_six = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_new_refineries
		icon = GFX_focus_generic_resource_extraction
		cost = 5
		relative_position_id = RUS_academy_of_sciences
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_urban_housing_projects
		}
		ai_will_do = { factor = 6 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_refineries"
			add_tech_bonus = {
				name = RUS_new_refineries
				bonus = 1
				uses = 1
				category = synth_resources
			}
			195 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = synthetic_refinery level = 1 }
			}
			248 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = synthetic_refinery level = 2 }
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = vostokneft
			show_ideas_tooltip = treugolnik
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_electronics_focus
		icon = GFX_goal_GER_Zuse_Computer
		cost = 4

		relative_position_id = RUS_academy_of_sciences
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_academy_of_sciences
		}
		ai_will_do = { factor = 8 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_electronics_focus"
			add_tech_bonus = {
				name = RUS_electronics_focus
				bonus = 1
				uses = 2
				category = computing_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	### Army Tree ###
	focus = {
		id = RUS_address_the_army
		icon = {
			trigger = { has_socialist_government = no }
			value = GFX_goal_RUS_army
		}
		icon = {
			trigger = { has_socialist_government = yes }
			value = GFX_goal_RUS_army_socialist
		}
		cost = 3

		x = 7
		y = 9
		allow_branch = {
			NOT = { has_country_flag = RUS_lost_wk2 }
		}

		offset = {
			y = 2
			trigger = { RUS_savinkov = yes }
		}
		offset = {
			x = -8
			trigger = { has_socialist_government = yes }
		}
		offset = {
			y = 1
			trigger = {
				OR = {
					RUS_is_spiridonist = yes
					RUS_is_maximalist = yes
				}
			}
		}
		ai_will_do = {
			base = 100
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_savinkov_ai
					has_country_flag = RUS_republic_ai
					has_country_flag = RUS_empire_ai
					has_country_flag = RUS_socialist_ai
				}
			}
			modifier = {
				factor = 1000
				has_active_mission = RUS_army_focus_demand
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_socialist_ai
				NOT = {
					has_completed_focus = RUS_evaluate_VVFR
					has_completed_focus = RUS_voskhod
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_address_the_army"
			army_experience = 10
			if = {
				limit = { has_socialist_government = no }
				country_event = russia_flavour_events.7
			}
			else = { country_event = russia_socialist_events.54 }
			hidden_effect = {
				country_event = { id = russia_flavour_events.165 days = 365 random_days = 180 } #Mountain Rifles
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_XP }
	}

	#Implement Golovin Reforms
	focus = {
		id = RUS_science_of_victory
		icon = GFX_goal_military_research
		cost = 5

		relative_position_id = RUS_address_the_army
		x = 2
		y = 1

		allow_branch = {
			NOT = {
				has_socialist_government = yes
				has_country_flag = RUS_lost_wk2
			}
		}
		prerequisite = {
			focus = RUS_address_the_army
		}
		mutually_exclusive = {
			focus = RUS_spirit_of_victory
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				factor = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 6
				date > 1938.4.1
			}
			modifier = {
				factor = 8
				date > 1939.1.1
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_army_focus_demand
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_socialist_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_science_of_victory"
			add_doctrine_cost_reduction = {
				name = RUS_science_of_victory
				cost_reduction = 0.33
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
				name = RUS_science_of_victory
				bonus = 0.1
				days = 365
				track = combat_support
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = RUS_nikolay_golovin_theorist
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_MILITARY_CHARACTER }
	}
	focus = {
		id = RUS_permanent_stavka
		icon = GFX_goal_generic_army_high_command
		cost = 6

		relative_position_id = RUS_science_of_victory
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_science_of_victory
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 8
				date > 1938.4.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_permanent_stavka"
			add_timed_idea = {
				idea = RUS_stavka_reform
				days = 365
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_permanent_stavka_tt
			effect_tooltip = {
				add_ideas = RUS_golovin_reform_1
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_hammer_of_suvorov
		icon = GFX_goal_generic_army_superior_firepower
		cost = 6

		relative_position_id = RUS_science_of_victory
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_science_of_victory
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_hammer_of_suvorov"
			add_tech_bonus = {
				name = RUS_hammer_of_suvorov
				bonus = 0.5
				uses = 3
				category = mio_cat_all_artillery_equipment
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_anti_fortification_artillery = yes
			custom_effect_tooltip = tooltip_white_line
			RUS_create_SPGs = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_russian_auftragstaktik
		icon = GFX_BAT_germanisation
		cost = 6

		available = {
			NOT = { has_idea = RUS_stavka_reform }
		}
		relative_position_id = RUS_permanent_stavka
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_permanent_stavka
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_russian_auftragstaktik"
			if = {
				limit = { has_idea = RUS_golovin_reform_3 }
				swap_ideas = {
					remove_idea = RUS_golovin_reform_3
					add_idea = RUS_golovin_reform_4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_golovin_reform_1
					add_idea = RUS_golovin_reform_2
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_reform_yunker_schools
		icon = GFX_goal_RUS_training #GFX_focus_SOV_mobilization_plan
		cost = 6

		available = {
			NOT = { has_idea = RUS_stavka_reform }
		}
		relative_position_id = RUS_permanent_stavka
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_permanent_stavka
		}
		prerequisite = {
			focus = RUS_hammer_of_suvorov
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_reform_yunker_schools"
			add_political_power = -40
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = RUS_golovin_reform_2 }
				swap_ideas = {
					remove_idea = RUS_golovin_reform_2
					add_idea = RUS_golovin_reform_4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_golovin_reform_1
					add_idea = RUS_golovin_reform_3
				}
			}
			custom_effect_tooltip = tooltip_white_line
			every_unit_leader = {
				limit = { is_corps_commander = yes }
				add_planning = 1
			}
			hidden_effect = {
				country_event = { id = russia_flavour_events.171 days = 180 } #Repetition is the Mother of Skill
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER }
	}
	focus = {
		id = RUS_unity_of_doctrine
		icon = GFX_goal_generic_army_cooperation
		cost = 6

		relative_position_id = RUS_permanent_stavka
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_reform_yunker_schools
		}
		prerequisite = {
			focus = RUS_russian_auftragstaktik
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_unity_of_doctrine"
			add_doctrine_cost_reduction = {
				name = RUS_unity_of_doctrine
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			swap_ideas = {
				remove_idea = RUS_golovin_reform_4
				add_idea = RUS_golovin_reform_5
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_battle_of_destruction
		icon = GFX_focus_generic_total_war
		cost = 6

		relative_position_id = RUS_hammer_of_suvorov
		x = 1
		y = 3

		prerequisite = {
			focus = RUS_unity_of_doctrine
		}
		prerequisite = {
			focus = RUS_general_winter
			focus = RUS_maskirovka
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_battle_of_destruction"
			swap_ideas = {
				remove_idea = RUS_golovin_reform_5
				add_idea = RUS_golovin_reform_6
			}
			add_tech_bonus = {
				name = RUS_battle_of_destruction
				bonus = 1
				uses = 2
				category = mio_cat_tech_heavy_armor_and_modules
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_AIRFORCE_BONUS }
	}

	# Continue Denikin-Markov Reforms
	focus = {
		id = RUS_spirit_of_victory
		icon = GFX_goal_RUS_white_legacy
		cost = 5

		relative_position_id = RUS_address_the_army
		x = -2
		y = 1

		allow_branch = {
			NOT = {
				has_socialist_government = yes
				has_country_flag = RUS_lost_wk2
			}
		}
		prerequisite = {
			focus = RUS_address_the_army
		}
		mutually_exclusive = {
			focus = RUS_science_of_victory
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				factor = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 6
				date > 1938.4.1
			}
			modifier = {
				factor = 8
				date > 1939.1.1
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_army_focus_demand
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_socialist_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_spirit_of_victory"
			add_doctrine_cost_reduction = {
				name = RUS_spirit_of_victory
				cost_reduction = 0.33
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
				name = RUS_spirit_of_victory
				bonus = 0.1
				days = 365
				track = armor
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = RUS_yevgeny_messner_theorist
		}
		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_expansion_of_guards
		icon = GFX_focus_SOV_restore_cossack_units
		cost = 6
		relative_position_id = RUS_spirit_of_victory
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_spirit_of_victory
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_expansion_of_guards"
			if = {
				limit = { has_idea = RUS_denikin_doctrine_1 }
				swap_ideas = {
					remove_idea = RUS_denikin_doctrine_1
					add_idea = RUS_denikin_doctrine_3
				}
			}
			else = { add_ideas = RUS_denikin_doctrine_2 }
			custom_effect_tooltip = tooltip_white_line
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_create_division_template
					NAME = "Gvardeyskaya Udr. Diviziya"
					LINE_1 = { localization_key = line_battalion_tt NAME = infantry ICON = GFX_unit_infantry_icon_small COUNT = 12 }
					LINE_2 = { localization_key = line_battalion_tt NAME = artillery_brigade ICON = GFX_unit_artillery_brigade_icon_small COUNT = 4 }
					SUPPORT_1 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
					SUPPORT_2 = { localization_key = support_battalion_tt NAME = mot_recon ICON = GFX_unit_mot_recon_icon_small }
					SUPPORT_3 = { localization_key = support_battalion_tt NAME = engineer ICON = GFX_unit_engineer_icon_small }
				}
				if = {
					limit = { has_template = "Gvardeyskaya Udr. Diviziya" }
					delete_unit_template_and_units = { division_template = "Gvardeyskaya Udr. Diviziya" disband = yes } #no cheating
				}
				division_template = {
					name = "Gvardeyskaya Udr. Diviziya"
					division_names_group = RUS_GRD_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 0 y = 3 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 1 y = 3 }
						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
						infantry = { x = 2 y = 3 }
						artillery_brigade = { x = 3 y = 0 }
						artillery_brigade = { x = 3 y = 1 }
						artillery_brigade = { x = 3 y = 2 }
						artillery_brigade = { x = 3 y = 3 }
					}
					support = {
						artillery = { x = 0 y = 0 }
						mot_recon = { x = 0 y = 1 }
						engineer = { x = 0 y = 2 }
					}
				}
			}
			capital_scope = {
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_units
						COUNT = 2
						TYPE = "Gvardeyskaya Udr. Diviziya"
					}
					create_unit = {
						division = "division_template = \"Gvardeyskaya Udr. Diviziya\" start_experience_factor = 3.0"
						owner = ROOT
						count = 2
					}
				}
			}
			hidden_effect = {
				country_event = { id = russia_flavour_events.170 days = 180 } #The Heart of the Army
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_new_cavalry
		icon = GFX_goal_generic_armored_cars
		cost = 6
		relative_position_id = RUS_spirit_of_victory
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_spirit_of_victory
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_cavalry"
			if = {
				limit = { has_idea = RUS_denikin_doctrine_2 }
				swap_ideas = {
					remove_idea = RUS_denikin_doctrine_2
					add_idea = RUS_denikin_doctrine_3
				}
			}
			else = {
				add_ideas = RUS_denikin_doctrine_1
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_semi_motorised_cav = yes
			custom_effect_tooltip = tooltip_white_line
			add_units_to_division_template = {
				template_name = "Kazachya diviziya"
				regiments = {
					cavalry = 2
					cavalry = 2
					cavalry = 2
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_separate_mechanised_divisions
		icon = GFX_goal_generic_army_tanks3
		cost = 7

		relative_position_id = RUS_spirit_of_victory
		x = 2
		y = 2

		prerequisite = {
			focus = RUS_new_cavalry
			focus = RUS_hammer_of_suvorov
		}
		available = {
			if = {
				limit = { has_dlc_nsb = yes }
				has_design_based_on = medium_tank_chassis
			}
			else = {
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_has_tech_detailed
						NAME = country_culture|medium_tank_equipment_1
						TECH = medium_tank_equipment_1
					}
					has_tech = basic_medium_tank
				}
			}
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_separate_mechanised_divisions"
			if = {
				limit = { NOT = { has_war_with = GER } }
				country_event = russia_flavour_events.84 #Exercises of the Kursk Military District
				custom_effect_tooltip = RUS_kursk_exercise_tt
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = { has_active_mission = RUS_military_demands }
				add_days_mission_timeout = {
					mission = RUS_military_demands
					days = 180
				}
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_completed_focus = RUS_hammer_of_suvorov }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_create_division_template
						NAME = "Gvardeyskaya Mekhanizirovannaya diviziya"
						LINE_1 = { localization_key = line_battalion_tt NAME = motorized ICON = GFX_unit_motorized_icon_small COUNT = 4 }
						LINE_2 = { localization_key = line_battalion_tt NAME = medium_armor ICON = GFX_unit_medium_armor_icon_small COUNT = 2 }
						LINE_3 = { localization_key = line_battalion_tt NAME = medium_sp_artillery_brigade ICON = GFX_unit_medium_sp_artillery_brigade_icon_small COUNT = 2 }
						SUPPORT_1 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
						SUPPORT_2 = { localization_key = support_battalion_tt NAME = engineer ICON = GFX_unit_engineer_icon_small }
						SUPPORT_3 = { localization_key = support_battalion_tt NAME = logistics_company ICON = GFX_unit_logistics_company_icon_small }
						SUPPORT_4 = { localization_key = support_battalion_tt NAME = maintenance_company ICON = GFX_unit_maintenance_company_icon_small }
						SUPPORT_5 = { localization_key = support_battalion_tt NAME = signal_company ICON = GFX_unit_signal_company_icon_small }
					}
					if = {
						limit = { has_template = "Gvardeyskaya Mekhanizirovannaya diviziya" }
						delete_unit_template_and_units = { division_template = "Gvardeyskaya Mekhanizirovannaya diviziya" disband = yes } #no cheating
					}
					division_template = {
						name = "Gvardeyskaya Mekhanizirovannaya diviziya"
						division_names_group = RUS_GRD_01
						regiments = {
							motorized = { x = 0 y = 0 }
							motorized = { x = 0 y = 1 }
							motorized = { x = 0 y = 2 }
							motorized = { x = 0 y = 3 }
							medium_armor = { x = 1 y = 0 }
							medium_armor = { x = 1 y = 1 }
							medium_sp_artillery_brigade = { x = 2 y = 0 }
							medium_sp_artillery_brigade = { x = 2 y = 1 }
						}
						support = {
							artillery = { x = 0 y = 0 }
							engineer = { x = 0 y = 1 }
							logistics_company = { x = 0 y = 2 }
							maintenance_company = { x = 0 y = 3 }
							signal_company = { x = 0 y = 4 }
						}
						priority = 2
					}
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = tooltip_if_focus_completed
					FOCUS = RUS_hammer_of_suvorov
				}
				custom_effect_tooltip = RUS_separate_mechanised_divisions_improved_template
				custom_effect_tooltip = tooltip_white_line
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_create_division_template
						NAME = "Gvardeyskaya Mekhanizirovannaya diviziya"
						LINE_1 = { localization_key = line_battalion_tt NAME = motorized ICON = GFX_unit_motorized_icon_small COUNT = 5 }
						LINE_2 = { localization_key = line_battalion_tt NAME = medium_armor ICON = GFX_unit_medium_armor_icon_small COUNT = 4 }
						SUPPORT_1 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
						SUPPORT_2 = { localization_key = support_battalion_tt NAME = engineer ICON = GFX_unit_engineer_icon_small }
						SUPPORT_3 = { localization_key = support_battalion_tt NAME = logistics_company ICON = GFX_unit_logistics_company_icon_small }
						SUPPORT_4 = { localization_key = support_battalion_tt NAME = maintenance_company ICON = GFX_unit_maintenance_company_icon_small }
						SUPPORT_5 = { localization_key = support_battalion_tt NAME = signal_company ICON = GFX_unit_signal_company_icon_small }
					}
					if = {
						limit = { has_template = "Gvardeyskaya Mekhanizirovannaya diviziya" }
						delete_unit_template_and_units = { division_template = "Gvardeyskaya Mekhanizirovannaya diviziya" disband = yes } #no cheating
					}
					division_template = {
						name = "Gvardeyskaya Mekhanizirovannaya diviziya"
						division_names_group = RUS_GRD_01
						regiments = {
							motorized = { x = 0 y = 0 }
							motorized = { x = 0 y = 1 }
							motorized = { x = 0 y = 2 }
							motorized = { x = 1 y = 0 }
							motorized = { x = 1 y = 1 }
							medium_armor = { x = 2 y = 0 }
							medium_armor = { x = 2 y = 1 }
							medium_armor = { x = 2 y = 2 }
							medium_armor = { x = 2 y = 3 }
						}
						support = {
							artillery = { x = 0 y = 0 }
							engineer = { x = 0 y = 1 }
							logistics_company = { x = 0 y = 2 }
							maintenance_company = { x = 0 y = 3 }
							signal_company = { x = 0 y = 4 }
						}
						priority = 2
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_separate_mechanised_divisions_tt
			set_temp_variable = { RUS_num_divisions_to_spawn = 1 } # Base
			if = {
				limit = { has_completed_focus = RUS_NPP_tanks }
				add_to_temp_variable = { RUS_num_divisions_to_spawn = 1 }
			}
			if = {
				limit = { has_completed_focus = RUS_military_production }
				add_to_temp_variable = { RUS_num_divisions_to_spawn = 1 }
			}
			if = {
				limit = { has_completed_focus = RUS_academy_of_black_epaulettes }
				add_to_temp_variable = { RUS_num_divisions_to_spawn = 1 }
			}
			if = {
				limit = {
					OR = {
						RUS_sergey_markov = { is_high_command = yes }
						RUS_sergey_markov = { is_army_chief = yes }
						RUS_yakov_slashchyov = { is_high_command = yes }
					}
				}
				add_to_temp_variable = { RUS_num_divisions_to_spawn = 1 }
			}
			random_owned_controlled_state = {
				prioritize = { 219 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_units
						COUNT = "[?RUS_num_divisions_to_spawn]"
						TYPE = "Gvardeyskaya Mekhanizirovannaya diviziya"
					}
					create_unit = {
						division = "division_template = \"Gvardeyskaya Mekhanizirovannaya diviziya\" start_experience_factor = 0.2"
						owner = ROOT
						count = RUS_num_divisions_to_spawn?1
					}
				}
			}
			hidden_effect = {
				country_event = { id = russia_flavour_events.162 days = 365 random_days = 365 } #By This Sign, Conquer
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_encourage_heroism
		icon = GFX_goal_RUS_heroism
		cost = 6
		relative_position_id = RUS_new_cavalry
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_new_cavalry
		}
		prerequisite = {
			focus = RUS_expansion_of_guards
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_encourage_heroism"
			swap_ideas = {
				remove_idea = RUS_denikin_doctrine_3
				add_idea = RUS_denikin_doctrine_4
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_propaganda_bureau_of_army
		icon = GFX_focus_hol_war_on_pacifism
		cost = 5
		relative_position_id = RUS_expansion_of_guards
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_expansion_of_guards
		}
		prerequisite = {
			focus = RUS_new_cavalry
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_propaganda_bureau_of_army"
			add_named_threat = {
				threat = 2
				name = RUS_propaganda_bureau_of_army
			}
			reduce_propaganda_decision_cost_twenty_five_percent = yes
			custom_effect_tooltip = reduce_propaganda_decision_cost_twenty_five_percent_tt
			custom_effect_tooltip = tooltip_white_line
			add_war_support = 0.1
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_anger_change = -1 }
			RUS_change_military_anger = yes
			RUS_change_right_anger = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_civic_militarism
		icon = GFX_goal_RUS_soldier_with_flag
		cost = 6
		relative_position_id = RUS_propaganda_bureau_of_army
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_propaganda_bureau_of_army
		}
		prerequisite = {
			focus = RUS_encourage_heroism
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_civic_militarism"
			swap_ideas = {
				remove_idea = RUS_denikin_doctrine_4
				add_idea = RUS_denikin_doctrine_5
			}
			if = {
				limit = { has_idea = RUS_military_anger_dem }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_military_anger = yes
			}
			add_popularity = { ideology = paternal_autocrat popularity = 0.05 }
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = RUS_steel_divisions
		icon = GFX_goal_generic_heavy_armour_russian
		cost = 6
		relative_position_id = RUS_new_cavalry
		x = -1
		y = 3

		prerequisite = {
			focus = RUS_civic_militarism
		}
		prerequisite = {
			focus = RUS_general_winter
			focus = RUS_maskirovka
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_steel_divisions"
			swap_ideas = {
				remove_idea = RUS_denikin_doctrine_5
				add_idea = RUS_denikin_doctrine_6
			}
			enable_tactic_masterful_blitz = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_maskirovka
		icon = GFX_focus_SWE_beneath_sticks_and_stone
		cost = 6
		allow_branch = { NOT = { has_country_flag = RUS_lost_wk2 } }
		relative_position_id = RUS_separate_mechanised_divisions
		x = 1
		y = 1
		offset = {
			x = 5
			trigger = { has_socialist_government = yes }
		}

		prerequisite = {
			focus = RUS_separate_mechanised_divisions
			focus = RUS_reform_yunker_schools
			focus = RUS_technological_supremacy
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_maskirovka"
			add_ideas = RUS_deception
			enable_tech_forest_warfare = yes
			custom_effect_tooltip = tooltip_white_line
			enable_tech_marsh_warfare = yes
			custom_effect_tooltip = tooltip_white_line
			enable_tech_long_range_patrol_support = yes
			add_potential_special_forces_tree = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_general_winter
		icon = GFX_focus_generic_winter_warfare
		cost = 6
		allow_branch = { NOT = { has_country_flag = RUS_lost_wk2 } }
		relative_position_id = RUS_separate_mechanised_divisions
		x = -1
		y = 1
		offset = {
			x = 5
			trigger = { has_socialist_government = yes }
		}

		prerequisite = {
			focus = RUS_separate_mechanised_divisions
			focus = RUS_technological_supremacy
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_general_winter"
			every_character = {
				limit = { has_trait = winter_specialist }
				add_max_trait = 1
				add_unit_leader_trait = winter_expert
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_ski_infantry = yes
			custom_effect_tooltip = tooltip_white_line
			enable_tech_arctic_commando = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	# Boldyrev Army #
	focus = {
		id = RUS_boldyrev_plan
		icon = GFX_goal_RUS_army
		cost = 4
		x = 6
		y = 9
		allow_branch = {
			has_country_flag = RUS_lost_wk2
			has_socialist_government = no
		}
		bypass = { RUS_boldyrev = no }
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_boldyrev_plan"
			if = {
				limit = { has_idea = RSA_stavka_5 }
				swap_ideas = {
					remove_idea = RSA_stavka_5
					add_idea = RSA_stavka_6
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka_4 }
				swap_ideas = {
					remove_idea = RSA_stavka_4
					add_idea = RSA_stavka_5
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka_3 }
				swap_ideas = {
					remove_idea = RSA_stavka_3
					add_idea = RSA_stavka_4
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka_2 }
				swap_ideas = {
					remove_idea = RSA_stavka_2
					add_idea = RSA_stavka_3
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka }
				swap_ideas = {
					remove_idea = RSA_stavka
					add_idea = RSA_stavka_3
				}
			}
			else = {
				add_ideas = RSA_stavka_3
			}
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							is_core_of = RUS
							is_core_of = UKR
							is_core_of = BLR
							is_core_of = RSA
							is_central_asia = yes
							is_core_of = GEO
							is_core_of = ARM
							is_core_of = AZR
							region = 37 # Baltic States
							state = 537 #South Sakhalin
							state = 555 #Kurils
							state = 577 #North Sakhalin
							state = 91 #Lwow
							state = 73 #Transcarpathia
							state = 78 #Bessarabia
							state = 97 #Bialystok
						}
						NOT = { is_core_of = ROOT }
					}
					enable_state_integration_50_compliance = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = RUS_integrate_free_army
		icon = GFX_goal_RSA_flag_soldiers
		cost = 5

		relative_position_id = RUS_boldyrev_plan
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_boldyrev_plan
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_integrate_free_army"
			add_timed_idea = {
				idea = RUS_restoring_russian_army
				days = 180
			}
			custom_effect_tooltip = after_idea_expires
			effect_tooltip = {
				remove_ideas = RUS_destroyed_army
			}
			add_doctrine_cost_reduction = {
				name = RUS_integrate_free_army
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			add_doctrine_cost_reduction = {
				name = RUS_integrate_free_army
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
			add_doctrine_cost_reduction = {
				name = RUS_integrate_free_army
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_chafe_at_the_restrictions
		icon = GFX_focus_generic_manpower
		cost = 5

		relative_position_id = RUS_integrate_free_army
		x = -1
		y = 1
		prerequisite = {
			focus = RUS_integrate_free_army
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_game_rule = { rule = RSA_forpol option = RSA_FORPOL_GER }
				GER = { has_democratic_government = no }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_chafe_at_the_restrictions"
			add_political_power = 50
			if = {
				limit = {
					OR = {
						NOT = { country_exists = GER }
						has_war_with = GER
					}
				}
				remove_ideas = RUS_military_restrictions
			}
			else = {
				GER = { country_event = russia_foreign_policy_events.153 }
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					remove_ideas = RUS_military_restrictions
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = RUS_will_that_conquers_mountains
		icon = GFX_goal_RUS_undying_will
		cost = 5

		relative_position_id = RUS_integrate_free_army
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_integrate_free_army
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_will_that_conquers_mountains"
			add_war_support = 0.1
			if = {
				limit = { has_idea = RSA_stavka_6 }
				swap_ideas = {
					remove_idea = RSA_stavka_6
					add_idea = RSA_stavka_7
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka_5 }
				swap_ideas = {
					remove_idea = RSA_stavka_5
					add_idea = RSA_stavka_6
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka_4 }
				swap_ideas = {
					remove_idea = RSA_stavka_4
					add_idea = RSA_stavka_5
				}
			}
			else_if = {
				limit = { has_idea = RSA_stavka_3 }
				swap_ideas = {
					remove_idea = RSA_stavka_3
					add_idea = RSA_stavka_4
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = RUS_secret_weapons_development
		icon = GFX_goal_generic_air_jet_2
		cost = 5

		relative_position_id = RUS_will_that_conquers_mountains
		x = -1
		y = 1

		available = {
			RUS_boldyrev = yes
		}
		prerequisite = {
			focus = RUS_chafe_at_the_restrictions
		}
		mutually_exclusive = {
			focus = RUS_german_industrial_cooperation
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_game_rule = { rule = RSA_forpol option = RSA_FORPOL_GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_secret_weapons_development"
			add_research_slot_until_five = yes
			add_tech_bonus = {
				name = RUS_secret_weapons_development
				bonus = 1
				uses = 3
				ahead_reduction = 1
				category = jet_technology
				category = mio_cat_tech_heavy_armor_and_modules
				category = mio_cat_all_heavy_aircraft_and_modules
			}
			if = {
				limit = {
					controls_province = 9292 #Chelyabinsk
					572 = { #Chelyabinsk
						is_fully_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				572 = { #Chelyabinsk
					custom_override_tooltip = {
						add_building_construction = {
							type = land_facility
							level = 1
							province = 9292 #Chelyabinsk
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = land_facility
							NUMBER = 1
							VP = 9292
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 403 572 583 653 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
			}
			if = {
				limit = {
					controls_province = 3578 #Saratov
					239 = { #Saratov
						is_fully_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				239 = { #Saratov
					custom_override_tooltip = {
						add_building_construction = {
							type = land_facility
							level = 1
							province = 3578 #Saratov
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = land_facility
							NUMBER = 1
							VP = 3578
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 217 236 239 265 401 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
			}
			if = {
				limit = { has_dlc_aat = yes }
				custom_effect_tooltip = {
					localization_key = KR_available_mio_tt
					MIO = "[?mio:RUS_okmo_kr_organisation.GetName]"
					TYPE = okmo_RUS_MIO
				}
				custom_effect_tooltip = {
					localization_key = KR_available_mio_tt
					MIO = "[?mio:RUS_vpoz_organisation.GetName]"
					TYPE = vpoz_RUS_MIO
				}
				custom_effect_tooltip = tooltip_white_line
				mio:RUS_putilovets_organisation = {
					unlock_mio_trait_tooltip = putilovets_upgrade_2_1
				}
				custom_effect_tooltip = tooltip_white_line
			}
			activate_targeted_decision = { target = 653 decision = RUS_uralmash }
			activate_targeted_decision = { target = 217 decision = RUS_tsaritsyn_tractor_plant }
			activate_targeted_decision = { target = 572 decision = RUS_chelyabinsk_tractor_plant }
			activate_targeted_decision = { target = 572 decision = RUS_create_tankograd }
			activate_targeted_decision = { target = 223 decision = RUS_tula_arms_factory }
			activate_targeted_decision = { target = 219 decision = RUS_modernisation_of_AMO }
			activate_targeted_decision = { target = 399 decision = RUS_izhevsk_mechanical_plant }
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_german_industrial_cooperation
		icon = GFX_goal_generic_recovery
		cost = 5

		relative_position_id = RUS_will_that_conquers_mountains
		x = -3
		y = 1
		available = {
			country_exists = GER
			NOT = { has_war_with = GER }
		}
		prerequisite = {
			focus = RUS_donbass_economic_area
		}
		mutually_exclusive = {
			focus = RUS_secret_weapons_development
		}
		mutually_exclusive = {
			focus = RUS_pacific_trade
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				NOT = { has_game_rule = { rule = RSA_forpol option = DEFAULT } }
				NOT = { has_game_rule = { rule = RSA_forpol option = RSA_FORPOL_GER } }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_german_industrial_cooperation"
			GER = { country_event = russia_boldyrev_events.53 } #Russia requests ME membership
			add_ideas = RUS_mitteleuropa_integration
			add_research_slot_until_five = yes
			every_other_country = {
				limit = {
					GER_is_in_mitteleuropa = yes
				}
				add_opinion_modifier = { target = ROOT modifier = KR_pleased }
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_restore_military_pride
		icon = GFX_goal_RUS_veterans
		cost = 5

		relative_position_id = RUS_will_that_conquers_mountains
		x = 1
		y = 1
		available = {
			has_army_manpower = { size > 1500000 }
			has_navy_size = { size > 99 }
			has_deployed_air_force_size = { size > 2999 }
			is_subject = no
			OR = {
				is_in_faction_with = ENT
				is_in_faction_with = JAP
				is_in_faction_with = 361.owner
			}
			NOT = { country_exists = FER }
		}
		prerequisite = {
			focus = RUS_will_that_conquers_mountains
		}
		prerequisite = {
			focus = RUS_republican_patriotism
		}
		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				NOT = { has_game_rule = { rule = RSA_forpol option = DEFAULT } }
				NOT = { has_game_rule = { rule = RSA_forpol option = RSA_FORPOL_GER } }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_restore_military_pride"
			add_war_support = 0.2
			### Send event to Germany
			if = {
				limit = { has_idea = RUS_treaty_of_moscow }
				remove_ideas = RUS_treaty_of_moscow
			}
			else_if = {
				limit = { has_idea = RUS_treaty_of_moscow_2 }
				remove_ideas = RUS_treaty_of_moscow_2
			}
			if = {
				limit = { has_idea = RUS_military_restrictions }
				remove_ideas = RUS_military_restrictions
			}
			RUS_create_economic_treaty = yes
			#Boldyrev doesn't get anger
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = RUS_boldyrevism
		icon = GFX_goal_RUS_boldyrev_2
		cost = 5

		relative_position_id = RUS_boldyrev_plan
		x = 2
		y = 1

		available = {
			RUS_boldyrev = yes
			has_completed_focus = RUS_elections
		}
		prerequisite = {
			focus = RUS_boldyrev_plan
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_boldyrevism"
			add_country_leader_trait = RUS_russian_caesar
			set_temp_variable = { ideology_change_var = 10 }
			change_ruling_party_popularity = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_social_security_system
		icon = GFX_goal_RUS_socialist_democracy
		cost = 5

		relative_position_id = RUS_boldyrevism
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_boldyrevism
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_social_security_system"
			add_ideas = RUS_welfare_system
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESISTANCE }
	}
	focus = {
		id = RUS_republican_patriotism
		icon = GFX_focus_ARG_defense_and_democracy
		cost = 5

		relative_position_id = RUS_boldyrevism
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_boldyrevism
		}
		prerequisite = {
			focus = RUS_integrate_free_army
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_republican_patriotism"
			add_political_power = 50
			set_temp_variable = { ideology_change_var = 5 }
			change_ruling_party_popularity = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_democracy_backed_by_tanks
		icon = GFX_focus_SOV_restore_cossack_units
		cost = 5

		relative_position_id = RUS_boldyrevism
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_boldyrevism
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democracy_backed_by_tanks"
			add_ideas = RUS_republic_in_armour
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_russia_in_german_world
		icon = GFX_goal_GER_Deutsches_Weltreich
		cost = 3
		available = { country_exists = GER }
		relative_position_id = RUS_boldyrev_plan
		x = -4
		y = 1

		prerequisite = {
			focus = RUS_boldyrev_plan
		}
		bypass = {
			NOT = { country_exists = GER }
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_russia_in_german_world"
			add_timed_idea = {
				idea = RUS_starting_anew
				days = 180
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_donbass_economic_area
		icon = GFX_goal_GER_Mitteleuropa_German
		cost = 5
		available = { country_exists = UKR }
		relative_position_id = RUS_russia_in_german_world
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_russia_in_german_world
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_donbass_economic_area"
			add_ideas = RUS_UKR_cooperation
			add_offsite_building = { type = industrial_complex level = 4 }
			custom_effect_tooltip = tooltip_white_line
			RSA_rebuilding = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_PRODUCTION }
	}
	focus = {
		id = RUS_finding_allies
		icon = GFX_goal_RUS_amtorg
		cost = 4
		available = {
			RUS_boldyrev = yes
			is_subject = no
		}
		relative_position_id = RUS_russia_in_german_world
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_russia_in_german_world
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_finding_allies"
			custom_effect_tooltip = RSA_freedom_tt
			if = {
				limit = {
					var:361.owner = { has_socialist_government = no }
				}
				activate_targeted_decision = { decision = RSA_talks_with_america target = 361.owner }
			}
			else = {
				activate_targeted_decision = { decision = RSA_talks_with_america target = USA }
			}
			activate_targeted_decision = { decision = RSA_talks_with_entente target = ENT }
			if = {
				limit = {
					custom_override_tooltip = {
						tooltip = JAP_fading_sun_NOT
						NOT = { has_global_flag = JAP_Fading_Sun }
					}
				}
				activate_targeted_decision = { decision = RSA_talks_with_japan target = JAP }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_siberian_ultimatum
		icon = GFX_focus_SOV_approach_semyonov #GFX_goal_RUS_ataman
		cost = 5
		available = {
			country_exists = FER
			has_completed_focus = RUS_chafe_at_the_restrictions
		}
		relative_position_id = RUS_russia_in_german_world
		x = -1
		y = 1
		will_lead_to_war_with = FER
		prerequisite = {
			focus = RUS_russia_in_german_world
		}
		bypass = {
			NOT = { country_exists = FER }
		}
		ai_will_do = { factor = 20 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_siberian_ultimatum"
			FER = { country_event = russia_free_army_events.24 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_pacific_trade
		icon = GFX_goal_USA_eagle_deal
		cost = 5
		available = {
			owns_state = 408
			NOT = {
				has_war_with = JAP
				has_war_with = 797.owner
			}
			OR = {
				has_global_flag = USA_civil_war_over_flag
				custom_override_tooltip = {
					tooltip = JAP_fading_sun_NOT
					NOT = { has_global_flag = JAP_Fading_Sun }
				}
				hidden_trigger = {
					var:361.owner = { #Owner of Washington DC
						has_socialist_government = no
						NOT = {
							is_in_faction_with = GER
							has_war_with = GER
						}
					}
				}
			}
		}
		relative_position_id = RUS_siberian_ultimatum
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_siberian_ultimatum
		}
		prerequisite = {
			focus = RUS_finding_allies
		}
		mutually_exclusive = {
			focus = RUS_german_industrial_cooperation
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0
				has_game_rule = { rule = RSA_forpol option = RSA_FORPOL_GER }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pacific_trade"
			RSA_rebuilding = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					has_global_flag = USA_civil_war_over_flag
					NOT = { is_in_faction_with = JAP }
					var:361.owner = { #Owner of Washington DC
						has_socialist_government = no
						NOT = {
							is_in_faction_with = GER
							has_war_with = GER
						}
					}
				}
				var:361.owner = { country_event = russia_foreign_policy_events.113 }
			}
			else_if = {
				limit = {
					NOT = { has_global_flag = JAP_Fading_Sun }
				}
				JAP = { country_event = russia_foreign_policy_events.113 }
			}
			custom_effect_tooltip = if_they_accept_tt
			event_option_tooltip = russia_foreign_policy_events.117.a
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	#Intelligence Branch
	focus = {
		id = RUS_expand_okhrana
		icon = GFX_goal_RUS_okhrana
		cost = 5
		allow_branch = {
			NOT = {
				has_country_flag = RUS_lost_wk2
				has_socialist_government = yes
			}
		}
		x = 7
		y = 0
		offset = {
			x = -2
			trigger = { has_country_flag = RUS_lost_wk2 }
		}
		relative_position_id = RUS_address_the_army
		ai_will_do = {
			base = 0
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_savinkov_ai
					has_country_flag = RUS_republic_ai
					has_country_flag = RUS_empire_ai
				}
			}
			modifier = {
				add = 1
				date > 1937.1.1
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_socialist_ai
			}
			modifier = {
				add = 20
				has_country_flag = RUS_empire_ai
				has_country_flag = RUS_vpp_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_expand_okhrana"
			if = {
				limit = { RUS_savinkov = yes }
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_flegont_klepikov_advisor
			}
			if = {
				limit = { has_dlc_lar = yes }
				if = {
					limit = { NOT = { has_done_agency_upgrade = upgrade_passive_defense } }
					upgrade_intelligence_agency = upgrade_passive_defense
				}
				add_ideas = RUS_okhrana_1
			}
			else = {
				add_political_power = 50
				add_ideas = RUS_okhrana_non_lar_1
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_is_demrus = yes
					has_country_flag = RUS_defensive_democracy_law
				}
				unlock_decision_tooltip = {
					decision = RUS_raid_fascists
					show_effect_tooltip = yes
					show_modifiers = no
				}
			}
			if = {
				limit = { RUS_is_demrus = yes }
				unlock_decision_tooltip = {
					decision = RUS_raid_communists
					show_effect_tooltip = yes
					show_modifiers = no
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_desperate_measures
		icon = GFX_goal_generic_more_territorial_claims
		cost = 2

		relative_position_id = RUS_address_the_army
		x = 6
		y = 1
		offset = {
			trigger = { has_socialist_government = yes }
			x = 1
		}
		offset = {
			y = -1
			x = -1
			trigger = { RUS_is_maximalist = yes }
		}
		offset = {
			y = 0
			x = -1
			trigger = { RUS_is_spiridonist = yes }
		}
		available = {
			OR = {
				has_war_with = GER
				has_war_with = INT
				has_war_with = ENT
				has_war_with = JAP
				has_war_with = CHN
			}
		}
		prerequisite = {
			focus = RUS_address_the_army
			focus = RUS_expand_okhrana
		}
		ai_will_do = {
			factor = 10
			modifier = {
				surrender_progress > 0.05
				factor = 10
			}
			modifier = {
				has_manpower < 100000
				factor = 10
			}
			modifier = {
				factor = 100
				has_socialist_government = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_desperate_measures"
			add_timed_idea = {
				idea = RUS_order_267_idea
				days = 385
			}
			activate_targeted_decision = { decision = RUS_barrier_troops target = ROOT }
			set_country_flag = RUS_industrial_transfer_unlocked
			unlock_decision_tooltip = RUS_transfer_factories_to_the_urals
			hidden_effect = {
				every_owned_state = {
					limit = {
						is_on_continent = europe
						is_core_of = RUS
						impassable = no
						NOT = {
							region = 40 #Transvolga
							region = 234 #Archangelsk
							state = 195 #Petrograd
							state = 219 #Moscow
						}
						OR = {
							arms_factory > 0
							industrial_complex > 0
						}
					}
					add_to_array = { RUS.RUS_evacuation_states_array = THIS }
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_codebreaking
		icon = GFX_goal_generic_investigate_corruption
		cost = 5

		relative_position_id = RUS_expand_okhrana
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_expand_okhrana
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_country_flag = RUS_savinkov_ai
				NOT = { has_completed_focus = RUS_gosstrazha }
			}
			modifier = {
				factor = 20
				has_active_mission = RUS_USNS_spreading
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_codebreaking"
			add_stability = 0.05
			if = {
				limit = { has_dlc_lar = yes }
				swap_ideas = {
					remove_idea = RUS_okhrana_1
					add_idea = RUS_okhrana_2
				}
				upgrade_intelligence_agency = upgrade_form_department
				upgrade_intelligence_agency = upgrade_decryption_boost
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_okhrana_non_lar_1
					add_idea = RUS_okhrana_non_lar_2
				}
				add_tech_bonus = {
					name = RUS_codebreaking
					bonus = 1
					uses = 1
					technology = basic_decryption
					technology = improved_decryption
					technology = advanced_decryption
				}
			}
			if = {
				limit = { has_socialist_government = no }
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_nikolay_zuyev_high_command
				hidden_effect = {
					country_event = russia_events.272
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = RUS_smersh
		icon = GFX_goal_RUS_SMERSH
		cost = 5

		relative_position_id = RUS_expand_okhrana
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_codebreaking
		}
		prerequisite = {
			focus = RUS_desperate_measures
		}
		available = {
			if = {
				limit = { has_liberal_government = yes }
				custom_override_tooltip = {
					tooltip = RUS_law_on_freedoms_NOT
					NOT = { has_country_flag = RUS_law_on_freedoms }
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 20
				has_active_mission = RUS_USNS_spreading
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_smersh"
			add_war_support = 0.1
			if = {
				limit = { has_dlc_lar = yes }
				if = {
					limit = { NOT = { has_done_agency_upgrade = upgrade_psycho_warfare } }
					upgrade_intelligence_agency = upgrade_psycho_warfare
				}
				swap_ideas = {
					remove_idea = RUS_okhrana_2
					add_idea = RUS_okhrana_3
				}
			}
			else = {
				swap_ideas = {
					remove_idea = RUS_okhrana_non_lar_2
					add_idea = RUS_okhrana_non_lar_3
				}
			}
			if = {
				limit = { NOT = { has_tech = tech_anti_partisan } }
				enable_tech_anti_partisan = yes
			}
			else = {
				add_stability = 0.05
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_redemption
		icon = GFX_focus_SOV_penal_battalions
		cost = 5
		relative_position_id = RUS_codebreaking
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_codebreaking
		}
		available = {
			any_enemy_country = { is_actual_major = yes }
			OR = {
				surrender_progress > 0.15
				has_dictatorship_government = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_redemption"
			set_temp_variable = { RUS_anger_change = 1 }
			RUS_change_military_anger = yes
			custom_effect_tooltip = tooltip_white_line
			enable_tech_penal_battalion = yes
			custom_effect_tooltip = tooltip_white_line
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_create_division_template
					NAME = "Shtrafnaya Chast"
					LINE_1 = { localization_key = line_battalion_tt NAME = penal_battalion ICON = GFX_unit_penal_battalion_icon_small COUNT = 9 }
					SUPPORT_1 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
				}
				if = {
					limit = { has_template = "Shtrafnaya Chast" }
					delete_unit_template_and_units = { division_template = "Shtrafnaya Chast" disband = yes } #no cheating
				}
				division_template = {
					name = "Shtrafnaya Chast"
					division_names_group = RUS_PEN_01
					regiments = {
						penal_battalion = { x = 0 y = 0 }
						penal_battalion = { x = 0 y = 1 }
						penal_battalion = { x = 0 y = 2 }
						penal_battalion = { x = 1 y = 0 }
						penal_battalion = { x = 1 y = 1 }
						penal_battalion = { x = 1 y = 2 }
						penal_battalion = { x = 2 y = 0 }
						penal_battalion = { x = 2 y = 1 }
						penal_battalion = { x = 2 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
			}
			hidden_effect = {
				country_event = { id = russia_flavour_events.166 days = 5 } #Shtrafniks Are Going Into Battle
			}
			capital_scope = {
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_units
						COUNT = 12
						TYPE = "Shtrafnaya Chast"
					}
					create_unit = {
						division = "division_template = \"Shtrafnaya Chast\" start_experience_factor = 0.5"
						owner = ROOT
						count = 12
					}
				}
			}
			if = {
				limit = { RUS_savinkov = yes }
				add_power_balance_value = {
					id = RUS_power_balance
					value = 0.05
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_ARMY_BONUS }
	}

	# Socialist Military Trees
	focus = {
		id = RUS_legacy_of_workers_army
		icon = GFX_goal_generic_socialist_army
		cost = 6

		relative_position_id = RUS_address_the_army
		x = 2
		y = 1

		allow_branch = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = RUS_address_the_army
		}
		available = {
			has_completed_focus = RUS_slay_militarism
		}
		mutually_exclusive = { focus = RUS_heirs_of_stavka }
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_legacy_of_workers_army"
			add_doctrine_cost_reduction = {
				name = RUS_legacy_of_workers_army
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
				name = RUS_legacy_of_workers_army
				bonus = 0.1
				days = 365
				track = combat_support
			}
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_frunze_doctrine_1
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			hidden_effect = {
				if = {
					limit = { has_completed_focus = RUS_comrades_abroad }
					country_event = { id = russia_socialist_events.57 days = 5 } #Drafting the Operation Kutuzov
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_heirs_of_stavka
		icon = GFX_goal_RUS_army
		cost = 6

		relative_position_id = RUS_address_the_army
		x = -1
		y = 1

		allow_branch = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = RUS_address_the_army
		}
		available = {
			has_completed_focus = RUS_slay_militarism
		}
		mutually_exclusive = { focus = RUS_legacy_of_workers_army }
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 5
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_heirs_of_stavka"
			add_doctrine_cost_reduction = {
				name = RUS_heirs_of_stavka
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
				name = RUS_heirs_of_stavka
				bonus = 0.1
				days = 365
				track = infantry
			}
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_vasilevsky_doctrine_1
			hidden_effect = {
				if = {
					limit = { has_completed_focus = RUS_comrades_abroad }
					country_event = { id = russia_socialist_events.57 days = 5 } #Drafting the Operation Kutuzov
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_death_to_white_army
		icon = GFX_goal_MON_we_dont_need_russia
		cost = 5

		relative_position_id = RUS_legacy_of_workers_army
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_legacy_of_workers_army
			focus = RUS_heirs_of_stavka
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
			modifier = {
				factor = 10
				OR = {
					has_idea = RUS_lack_of_officers
					has_idea = RUS_lack_of_officers_2
					has_idea = RUS_lack_of_officers_3
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_death_to_white_army"
			add_manpower = -40500
			RUS_fix_army_soc = yes
			RUS_promote_socialist_generals = yes
			RUS_basan_gorodovikov = { set_nationality = ROOT }
			RUS_pavel_rychagov = {
				add_advisor_role = {
					advisor = {
						slot = air_chief
						idea_token = RUS_pavel_rychagov_air_chief
						desc = RUS_pavel_rychagov_high_command_desc
						traits = { KR_air_chief_reform_2 }
						cost = 100
					}
				}
			}
			hidden_effect = {
				country_event = { id = russia_flavour_events.163 days = 10 random_days = 90 } #Away with the Imperial Regalia
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_commissars
		icon = GFX_focus_SOV_military_purge
		cost = 6

		relative_position_id = RUS_death_to_white_army
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_death_to_white_army
		}
		mutually_exclusive = {
			focus = RUS_military_independence
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_commissars"
			if = {
				limit = {
					OR = {
						RUS_is_maximalist = yes
						RUS_VST_left = yes
					}
				}
				add_popularity = { ideology = totalist popularity = 0.05 }
			}
			else = {
				set_temp_variable = { ideology_change_var = 5 }
				change_ruling_party_popularity = yes
			}
			if = {
				limit = { has_idea = RUS_commissars_communist_1 }
				swap_ideas = {
					remove_idea = RUS_commissars_communist_1
					add_idea = RUS_commissars_communist_2
				}
			}
			else = { add_ideas = RUS_commissars_communist_1 }
			if = {
				limit = { RUS_is_spiridonist = yes }
				set_temp_variable = { RUS_spiridonist_influence_change = -2 }
				RUS_add_faith = yes
			}
			if = {
				limit = { RUS_is_maximalist = yes }
				set_temp_variable = { RUS_maximalist_influence_change = 2 }
				RUS_maximalist_influence = yes
			}
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_RKP_relation = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_military_independence
		icon = GFX_goal_generic_army_high_command
		cost = 6

		relative_position_id = RUS_death_to_white_army
		x = -1
		y = 1
		prerequisite = {
			focus = RUS_death_to_white_army
		}
		mutually_exclusive = {
			focus = RUS_commissars
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_military_independence"
			if = {
				limit = {
					OR = {
						has_idea = RUS_lack_of_officers
						has_idea = RUS_lack_of_officers_2
						has_idea = RUS_lack_of_officers_3
					}
				}
				RUS_fix_army_soc = yes
				army_experience = 50
			}
			else = {
				army_experience = 100
			}
			add_political_power = -40
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_SDS_relation = yes
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_PSR_relation = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_democratic_guard
		icon = GFX_focus_SOV_builder_of_the_red_army
		cost = 6

		relative_position_id = RUS_legacy_of_workers_army
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_legacy_of_workers_army
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_democratic_guard"
			if = {
				limit = {
					OR = {
						is_in_coalition_with_totalist = yes
						RUS_is_maximalist = yes
						has_completed_focus = RUS_military_marxism
					}
				}
				add_popularity = { ideology = totalist popularity = 0.05 }
			}
			else = {
				set_temp_variable = { ideology_change_var = 5 }
				change_ruling_party_popularity = yes
			}
			swap_ideas = {
				remove_idea = RUS_frunze_doctrine_1
				add_idea = RUS_frunze_doctrine_2
			}
			enable_tech_irregulars = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_basis_of_victory
		icon = GFX_focus_generic_combined_arms
		cost = 6

		relative_position_id = RUS_legacy_of_workers_army
		x = 1
		y = 2

		prerequisite = {
			focus = RUS_democratic_guard
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_basis_of_victory"
			swap_ideas = {
				remove_idea = RUS_frunze_doctrine_2
				add_idea = RUS_frunze_doctrine_3
			}
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = RUS_basis_of_victory
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_semi_motorised_cav = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_sword_of_revolution
		icon = GFX_focus_SOV_the_glory_of_the_red_army_communism
		cost = 7

		relative_position_id = RUS_legacy_of_workers_army
		x = 0
		y = 3

		prerequisite = {
			focus = RUS_basis_of_victory
		}
		prerequisite = {
			focus = RUS_commissars
			focus = RUS_military_independence
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_sword_of_revolution"
			swap_ideas = {
				remove_idea = RUS_frunze_doctrine_3
				add_idea = RUS_frunze_doctrine_4
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_praporshchiks_generation
		icon = GFX_goal_RUS_veterans
		cost = 6

		relative_position_id = RUS_heirs_of_stavka
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_heirs_of_stavka
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_praporshchiks_generation"
			add_war_support = 0.05
			swap_ideas = {
				remove_idea = RUS_vasilevsky_doctrine_1
				add_idea = RUS_vasilevsky_doctrine_2
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_with_small_blood
		icon = GFX_goal_generic_barricades
		cost = 6

		relative_position_id = RUS_heirs_of_stavka
		x = -2
		y = 2

		prerequisite = {
			focus = RUS_praporshchiks_generation
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_with_small_blood"
			swap_ideas = {
				remove_idea = RUS_vasilevsky_doctrine_2
				add_idea = RUS_vasilevsky_doctrine_3
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_improved_field_hospitals = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_glory_of_the_people_army
		icon = GFX_goal_RUS_third_way
		cost = 7

		relative_position_id = RUS_heirs_of_stavka
		x = 0
		y = 3

		prerequisite = {
			focus = RUS_with_small_blood
		}
		prerequisite = {
			focus = RUS_commissars
			focus = RUS_military_independence
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_glory_of_the_people_army"
			swap_ideas = {
				remove_idea = RUS_vasilevsky_doctrine_3
				add_idea = RUS_vasilevsky_doctrine_4
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = RUS_deep_battle_focus
		icon = GFX_goal_planning_bonus
		cost = 7

		relative_position_id = RUS_legacy_of_workers_army
		x = 2
		y = 1
		prerequisite = {
			focus = RUS_academy_of_black_epaulettes
		}
		prerequisite = {
			focus = RUS_legacy_of_workers_army
			focus = RUS_heirs_of_stavka
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_deep_battle_focus"
			if = {
				limit = {
					NOT = { has_war_with = GER }
				}
				country_event = russia_events.446 #War Game at Voronezh
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.55 days = 10 }
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery = {
				amount = 120
				track = operations
			}
			add_doctrine_cost_reduction = {
				name = RUS_deep_battle_focus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = RUS_vladimir_triandafillov_theorist
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_technological_supremacy
		icon = GFX_focus_NORDIC_com_selector_material
		cost = 5

		relative_position_id = RUS_deep_battle_focus
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_deep_battle_focus
			focus = RUS_punitive_brigades
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
			modifier = {
				factor = 100
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_technological_supremacy"
			modify_tech_sharing_bonus = {
				id = phalanstere_research
				bonus = 0.1
			}
			if = {
				limit = {
					controls_province = 1821 #Ekaterinburg
					653 = { #Ekaterinburg
						is_fully_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				572 = {
					custom_override_tooltip = {
						add_building_construction = {
							type = land_facility
							level = 1
							province = 1821 #Ekaterinburg
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = land_facility
							NUMBER = 1
							VP = 1821
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 403 572 583 653 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
			}
			if = {
				limit = {
					controls_province = 3578 #Saratov
					239 = { #Saratov
						is_fully_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				239 = { #Saratov
					custom_override_tooltip = {
						add_building_construction = {
							type = land_facility
							level = 1
							province = 3578 #Saratov
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = land_facility
							NUMBER = 1
							VP = 3578
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 217 236 239 265 401 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
			}
			880 = { #Dvinsk
				add_building_construction = { type = air_base level = 2 instant_build = yes }
			}
			218 = { #Rostov
				add_building_construction = { type = air_base level = 2 instant_build = yes }
			}
			add_tech_bonus = {
				name = RUS_technological_supremacy
				bonus = 1.0
				uses = 1
				category = armor
			}
			add_tech_bonus = {
				name = RUS_technological_supremacy
				bonus = 1.0
				uses = 1
				category = air_equipment
			}
			add_tech_bonus = {
				name = RUS_technological_supremacy
				bonus = 1.0
				uses = 1
				category = mio_cat_all_artillery_equipment
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_military_high_command
			add_advisor_role = {
				character = RUS_leonid_govorov
				advisor = {
					slot = high_command
					idea_token = RUS_leonid_govorov_high_command
					desc = RUS_leonid_govorov_commander_desc
					ledger = army
					traits = { KR_MHC_artillery_2 }
					cost = 100
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	### Bolshevik Branch
	focus = {
		id = RUS_rehabilitate_red_army
		icon = GFX_focus_SOV_approach_tukahchevsky
		cost = 4
		allow_branch = {
			has_socialist_government = yes
		}
		available = {
			has_country_flag = RUS_exiles_have_returned
			has_completed_focus = RUS_slay_militarism
		}
		x = 14
		y = 9
		offset = {
			x = -7
			trigger = { has_socialist_government = yes }
		}

		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
			modifier = {
				factor = 15
				date > 1939.4.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rehabilitate_red_army"
			add_war_support = 0.1
			RUS_fix_army_soc = yes
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = RUS_vasily_blyukher_high_command
			show_ideas_tooltip = RUS_aleksandr_yegorov_high_command
			show_ideas_tooltip = RUS_semyon_timoshenko_high_command
			show_ideas_tooltip = RUS_kirill_meretskov_high_command
			show_ideas_tooltip = RUS_boris_shaposhnikov_theorist
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_relation_change = 1 }
			RUS_VST_left_relation = yes
		}
		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_end_army_factionalism
		icon = GFX_focus_BRA_end_the_state_of_emergency
		cost = 5

		relative_position_id = RUS_rehabilitate_red_army
		x = 1
		y = 1

		available = {
			has_completed_focus = RUS_russian_congress
			if = {
				limit = {
					RUS_is_spiridonist = yes
					is_ai = no
				}
				has_completed_focus = RUS_create_the_democratic_bloc
			}
		}
		allow_branch = {
			has_socialist_government = yes
			RUS_sulimov = no
		}

		prerequisite = { focus = RUS_rehabilitate_red_army }
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
			modifier = {
				factor = 15
				date > 1939.4.1
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_end_army_factionalism"
			RUS_fix_army_soc = yes
			country_event = russia_socialist_events.131
			custom_effect_tooltip = tooltip_event_allows_choice
			custom_effect_tooltip = tooltip_event_choice_option_1
			if = {
				limit = { RUS_is_maximalist = yes }
				event_option_tooltip = russia_socialist_events.132.a #Levandovsky
				custom_effect_tooltip = tooltip_event_choice_option_2
				event_option_tooltip = russia_socialist_events.132.b #Frunze
				custom_effect_tooltip = tooltip_event_choice_option_3
				event_option_tooltip = russia_socialist_events.132.c #Tukhachevsky
			}
			if = {
				limit = { RUS_is_spiridonist = yes }
				event_option_tooltip = russia_socialist_events.132.a2 #Levandovsky
				custom_effect_tooltip = tooltip_event_choice_option_2
				event_option_tooltip = russia_socialist_events.132.b2 #Sablin
				if = {
					limit = { NOT = { has_country_flag = RUS_sablin_only } }
					custom_effect_tooltip = tooltip_event_choice_option_3
					event_option_tooltip = russia_socialist_events.132.c #Tukhachevsky
				}
			}
			else = {
				event_option_tooltip = russia_socialist_events.132.a2 #Levandovsky
				custom_effect_tooltip = tooltip_event_choice_or
				event_option_tooltip = russia_socialist_events.132.e #Yegorov
				if = {
					limit = {
						has_character = RUS_mikhail_frunze
					}
					custom_effect_tooltip = tooltip_event_choice_or
					event_option_tooltip = russia_socialist_events.132.f #Frunze
				}
				if = {
					limit = {
						RUS_VST_right = yes
						has_character = RUS_aleksandr_vasilevsky
					}
					custom_effect_tooltip = tooltip_event_choice_or
					event_option_tooltip = russia_socialist_events.132.g #Vasilevsky
				}
			}
		}
	}
	focus = {
		id = RUS_military_marxism
		icon = GFX_focus_SOV_the_path_of_marxism_leninism
		cost = 5

		relative_position_id = RUS_rehabilitate_red_army
		x = 0
		y = 2

		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 4
				date > 1938.1.1
			}
			modifier = {
				factor = 4
				date > 1939.1.1
			}
		}

		prerequisite = {
			focus = RUS_rehabilitate_red_army
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_military_marxism"
			add_popularity = { ideology = totalist popularity = 0.04 }
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_idea = RUS_commissars_communist_1 }
				swap_ideas = {
					remove_idea = RUS_commissars_communist_1
					add_idea = RUS_commissars_communist_2
				}
			}
			else = { add_ideas = RUS_commissars_communist_1 }
			if = {
				limit = { has_character = RUS_iosif_stalin }
				custom_effect_tooltip = available_military_high_command
				show_ideas_tooltip = RUS_iosif_stalin_high_command
			}
			if = {
				limit = { RUS_VST = yes }
				RUS_decrease_VST_centre_unity = yes
				set_temp_variable = { RUS_relation_change = 1 }
				RUS_RKP_relation = yes
				set_temp_variable = { RUS_relation_change = -1 }
				RUS_VST_left_relation = yes
			}
			else_if = {
				limit = { RUS_is_maximalist = yes }
				set_temp_variable = { RUS_maximalist_suspicion_change = 1 }
				RUS_maximalist_suspicion = yes
				set_temp_variable = { RUS_maximalist_influence_change = 2 }
				RUS_maximalist_influence = yes
			}
			hidden_effect = {
				country_event = { id = russia_socialist_events.386 days = 260 } #Against the Anti-Social Intelligentsia
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_MILITARY_CHARACTER }
	}
	focus = {
		id = RUS_punitive_brigades
		icon = GFX_focus_SOV_penal_battalions
		cost = 5

		relative_position_id = RUS_rehabilitate_red_army
		x = -2
		y = 2

		allow_branch = {
			has_socialist_government = yes
		}
		available = {
			RUS_VST_right = no
		}
		ai_will_do = { base = 5000 }
		offset = {
			trigger = { RUS_is_spiridonist = yes }
			x = 0
			y = 1
		}
		prerequisite = {
			focus = RUS_desperate_measures
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_punitive_brigades"
			add_popularity = { ideology = totalist popularity = 0.05 }
			custom_effect_tooltip = tooltip_white_line
			enable_tech_penal_battalion = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { RUS_is_maximalist = yes }
				set_temp_variable = { RUS_maximalist_suspicion_change = 1 }
				RUS_maximalist_suspicion = yes
			}
			else_if = {
				limit = { RUS_is_spiridonist = yes }
				set_temp_variable = { RUS_spiridonist_influence_change = -2 }
				RUS_add_faith = yes
			}
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_create_division_template
					NAME = "Shtrafnaya Chast 2"
					LINE_1 = { localization_key = line_battalion_tt NAME = penal_battalion ICON = GFX_unit_penal_battalion_icon_small COUNT = 9 }
					SUPPORT_1 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
				}
				if = {
					limit = { has_template = "Shtrafnaya Chast 2" }
					delete_unit_template_and_units = { division_template = "Shtrafnaya Chast 2" disband = yes } #no cheating
				}
				division_template = {
					name = "Shtrafnaya Chast 2"
					division_names_group = RUS_PEN_01
					regiments = {
						penal_battalion = { x = 0 y = 0 }
						penal_battalion = { x = 0 y = 1 }
						penal_battalion = { x = 0 y = 2 }
						penal_battalion = { x = 1 y = 0 }
						penal_battalion = { x = 1 y = 1 }
						penal_battalion = { x = 1 y = 2 }
						penal_battalion = { x = 2 y = 0 }
						penal_battalion = { x = 2 y = 1 }
						penal_battalion = { x = 2 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
			}
			capital_scope = {
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_units
						COUNT = 10
						TYPE = "Shtrafnaya Chast 2"
					}
					create_unit = {
						division = "division_template = \"Shtrafnaya Chast 2\" start_experience_factor = 0.5"
						owner = ROOT
						count = 10
					}
				}
			}
			hidden_effect = {
				country_event = { id = russia_flavour_events.166 days = 5 } #Shtrafniks Are Going Into Battle
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_mother_russia_bleed_them_dry
		icon = GFX_focus_generic_women_in_military
		cost = 5
		allow_branch = {
			RUS_PLSR = yes
		}
		available = {
			any_enemy_country = { is_actual_major = yes }
		}
		ai_will_do = { base = 1000 }
		relative_position_id = RUS_rehabilitate_red_army
		x = 0
		y = 3
		prerequisite = {
			focus = RUS_military_marxism
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mother_russia_bleed_them_dry"
			add_war_support = 0.1
			add_timed_idea = {
				idea = RUS_death_by_thousand_cuts
				days = 720
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = RUS_exhortation_organisation_reprisals
		icon = GFX_focus_SOV_the_last_purge
		cost = 4
		allow_branch = {
			RUS_VST = yes
		}
		relative_position_id = RUS_rehabilitate_red_army
		x = 0
		y = 3
		available = { RUS_VST_right = no }
		prerequisite = {
			focus = RUS_punitive_brigades
		}
		prerequisite = {
			focus = RUS_military_marxism
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_exhortation_organisation_reprisals"
			add_war_support = 0.1
			RUS_decrease_antisoc_resistance = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { RUS_VST = yes }
				set_temp_variable = { RUS_relation_change = 1 }
				RUS_VST_left_relation = yes
				RUS_RKP_relation = yes
				set_temp_variable = { RUS_relation_change = -1 }
				RUS_VST_right_relation = yes
				RUS_PSR_relation = yes
				RUS_SDS_relation = yes
			}
			else_if = {
				limit = { RUS_is_maximalist = yes }
				set_temp_variable = { RUS_maximalist_suspicion_change = 1 }
				RUS_maximalist_suspicion = yes
			}
			else = {
				set_temp_variable = { RUS_spiridonist_influence_change = -1 }
				RUS_add_faith = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

## Diplomatic Tree

	focus = {
		id = RUS_third_europe
		icon = GFX_focus_SOV_third_rome
		cost = 5
		x = 22
		y = 0
		offset = {
			x = 11
			trigger = { RUS_is_demrus = yes }
		}
		offset = {
			x = -2
			trigger = { RUS_wrangel_path = yes }
		}
		allow_branch = {
			has_socialist_government = no
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		available = {
			NOT = { has_idea = RUS_entrenched_opposition }
		}
		ai_will_do = {
			base = 10
			modifier = {
				factor = 500
				NOT = { has_country_flag = RUS_socialist_ai } #rush this
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_socialist_ai #pointless to do as SocRus
			}
			modifier = {
				factor = 0
				AND = {
					has_country_flag = RUS_savinkov_ai
					NOT = { has_completed_focus = RUS_voskhod }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_third_europe"
			set_variable = { RUS_POL_cost = 60 }
			create_faction_from_template = faction_template_moscow_accord
			add_named_threat = {
				threat = 6
				name = RUS_moscow_accord_threat
			}
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_operation_nevsky_unlock_tt
			hidden_effect = {
				if = {
					limit = {
						is_ai = no
						BAT = { is_ai = yes }
					}
					activate_targeted_decision = { target = BAT decision = RUS_operation_nevsky }
				}
			}
			activate_targeted_decision = { target = POL decision = RUS_influence_poland }
			activate_targeted_decision = { target = LIT decision = RUS_fund_LAF }
			hidden_effect = {
				MIE_form_intermarium = yes
				news_event = russia_news_events.10
				country_event = { id = russia_flavour_events.42 days = 600 } #Growing Militarism
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_end_vilnius_agreement
		icon = GFX_goal_national_populism
		relative_position_id = RUS_third_europe
		x = 0
		y = 1
		cost = 5
		prerequisite = {
			focus = RUS_third_europe
		}
		available = { date > 1936.4.12 } #In-universe day when the treaty expires
		ai_will_do = {
			base = 10
			modifier = {
				factor = 500
				NOT = { has_country_flag = RUS_socialist_ai } #rush this
			}
			modifier = {
				factor = 0
				AND = {
					has_country_flag = RUS_savinkov_ai
					NOT = { has_completed_focus = RUS_voskhod }
				}
			}
			modifier = {
				factor = 50
				NOT = { has_country_flag = RUS_socialist_ai }
				GEO = { is_guaranteed_by = ROOT }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_end_vilnius_agreement"
			add_war_support = 0.05
			unlock_decision_category_tooltip = RUS_german_influence
			activate_targeted_decision = { target = ROOT decision = RUS_international_propaganda }
			hidden_effect = {
				country_event = russia_events.404 #Russian Government Freezes the Vilnius Accord
				GER = { country_event = russia_events.404 }
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_sponsor_belgrade
		icon = GFX_goal_SER_congress_of_belgrade
		cost = 3

		relative_position_id = RUS_third_europe
		x = 2
		y = 1

		prerequisite = { focus = RUS_third_europe }
		ai_will_do = {
			factor = 5
			modifier = {
				add = 15
				country_exists = BPL
			}
			modifier = {
				add = 40 #added pp + International Propaganda from Power Projection could help
				date > 1938.1.1
				OR = {
					has_idea = volunteer_only
					has_idea = civilian_economy
				}
			}
			modifier = {
				factor = 500
				has_country_flag = RUS_savinkov_ai
				has_completed_focus = RUS_science_of_victory
			}
			modifier = {
				factor = 5
				has_country_flag = RUS_sr_ai
				has_country_flag = RUS_empire_ai
				has_government = paternal_autocrat
				has_completed_focus = RUS_privatisation
			}
			modifier = {
				factor = 10
				has_government = paternal_autocrat #denikin-wrangel interim period
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_sponsor_belgrade"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			activate_targeted_decision = { target = SER decision = RUS_Invite_Serbia }
			activate_targeted_decision = { target = ROM decision = RUS_Invite_Romania }
			activate_targeted_decision = { target = GRE decision = RUS_Invite_Greece }
			if = {
				custom_effect_tooltip = tooltip_white_line
				limit = { NOT = { has_global_flag = balkan_war_ended } }
				add_relation_modifier = {
					target = SER
					modifier = volunteer_limit_plus_one
				}
				SER = { country_event = russia_foreign_policy_events.10 }
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_ideas = RUS_SER_aid_RUS
					SER = { add_ideas = RUS_SER_aid }
				}
				GRE = { country_event = russia_foreign_policy_events.10 }
				if = {
					limit = { RUS_savinkov = yes }
					ROM = { country_event = russia_foreign_policy_events.10 }
				}
			}
			if = {
				limit = { RUS_savinkov = yes }
				hidden_effect = {
					country_event = { id = russia_flavour_events.6 days = 180 random_days = 50 }
				}
			}
			activate_targeted_decision = { target = ROOT decision = RUS_lend_our_support }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIRFORCE_BONUS FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_moscow_economic_council
		icon = GFX_goal_RUS_moscow_economic_council
		cost = 5

		relative_position_id = RUS_end_vilnius_agreement
		x = 1
		y = 1

		available = {
			is_faction_leader = yes
			num_faction_members > 2
			RUS_has_black_monday = no
			custom_override_tooltip = {
				tooltip = RUS_power_projection_10_cost
				check_variable = { RUS_power_projection > 9 }
			}
		}
		prerequisite = {
			focus = RUS_end_vilnius_agreement
		}
		ai_will_do = {
			factor = 6
			modifier = {
				factor = 100
				NOT = { country_exists = GER }
				has_country_flag = RUS_ideocrat_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_moscow_economic_council"
			set_temp_variable = { RUS_power_change = -10 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			RUS_create_economic_treaty = yes
			hidden_effect = {
				every_other_country = {
					limit = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
					country_event = russia_foreign_policy_events.76
				}
				if = { #Workaround in case he was hired before your economic treaty exists
					limit = {
						RUS_pyotr_savitsky = { is_hired_as_advisor = yes }
					}
					RUS_eurasianist_effect = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_PRODUCTION }
	}
	focus = {
		id = RUS_petrograd_security
		icon = GFX_focus_FIN_northern_defense_front
		cost = 3

		relative_position_id = RUS_end_vilnius_agreement
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_end_vilnius_agreement
		}
		ai_will_do = {
			base = 5
			modifier = {
				add = 20
				OR = {
					AND = {
						country_exists = EST
						EST = { is_in_faction = no }
					}
					LAT = {
						exists = yes
						has_socialist_government = no
					}
					FIN = {
						is_in_faction = no
					}
					LIT = {
						is_in_faction = no
					}
				}
			}
			modifier = {
				factor = 4
				has_game_rule = { rule = FIN_forpol option = FIN_FORPOL_NEUT }
			}
			modifier = {
				factor = 50
				has_war_with = GER
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_petrograd_security"
			if = {
				limit = {
					has_government = national_populist
					FIN = {
						OR = {
							is_in_faction_with = GER
							is_in_faction = no
						}
					}
				}
				country_event = russia_foreign_policy_events.21 #Clash at the Finnish border
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_petrograd_security"
			add_war_support = 0.05
			activate_targeted_decision = { target = FIN decision = RUS_pressure_finland }
			activate_targeted_decision = { target = FIN decision = RUS_Invite_Finland }
			activate_targeted_decision = { target = EST decision = RUS_Invite_Baltics }
			activate_targeted_decision = { decision = RUS_attack target = EST } #Expand this
			activate_targeted_decision = { decision = RUS_attack target = LAT }
			activate_targeted_decision = { target = LAT decision = RUS_Invite_Baltics }
			activate_targeted_decision = { target = LIT decision = RUS_Invite_Baltics }
			activate_targeted_decision = { target = RUS decision = RUS_fortify_the_petrograd_approaches }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = RUS_operation_yekaterina
		icon = GFX_focus_usa_focus_on_europe
		cost = 3

		relative_position_id = RUS_end_vilnius_agreement
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_end_vilnius_agreement
		}
		prerequisite = {
			focus = RUS_white_sun_of_desert
		}
		available = {
			is_subject = no
		}
		allow_branch = {
			NOT = {
				has_socialist_government = yes
				has_country_flag = RUS_lost_wk2
			}
		}
		bypass = {
			NOT = { can_declare_war_on = GER }
		}
		ai_will_do = {
			factor = 2
			modifier = {
				add = 20
				date > 1939.1.1
			}
			modifier = {
				factor = 50
				date > 1939.8.1
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_operation_yekaterina"
			GER = { country_event = russia_boldyrev_events.2 } #Boldyrev and the Kaiser
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_operation_yekaterina"
			country_event = russia_events.442
			if = {
				limit = {
					has_idea = RUS_military_anger_dem
					check_variable = { RUS_military_anger > 5 }
				}
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_military_anger = yes
			}
			hidden_effect = {
				country_event = { id = russia_monarchist_events.19 days = 30 random_days = 60 } #The Patriotic Information Bureau
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_fifth_column
		icon = GFX_goal_UKR_stabilise_west
		cost = 3

		relative_position_id = RUS_operation_yekaterina
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_operation_yekaterina
		}
		bypass = {
			OR = {
				NOT = {
					country_exists = UKR
					country_exists = BLR
					country_exists = GER
				}
				has_war_with = GER
			}
		}
		ai_will_do = { base = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_fifth_column"
			if = {
				limit = { UKR = { has_dictatorship_government = yes } }
				activate_targeted_decision = { target = UKR decision = RUS_organise_resistance_in_crimea }
			}
			activate_targeted_decision = { target = UKR decision = RUS_organise_russophile_groups }
			activate_targeted_decision = { target = UKR decision = RUS_incite_antigermanism }
			activate_targeted_decision = { target = BLR decision = RUS_anti_belarus }
			activate_targeted_decision = { target = BAT decision = RUS_free_baltics_free_russia }
			activate_targeted_decision = { target = LIT decision = RUS_support_the_laf }
			activate_targeted_decision = { target = POL decision = RUS_national_committee }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_decisions_go_away
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = RUS_preemptive_war
		icon = GFX_goal_attack_germany
		cost = 5

		relative_position_id = RUS_end_vilnius_agreement
		x = 0
		y = 3

		cancelable = no

		available = {
			second_weltkrieg_can_start = yes
			is_faction_leader = yes
			RUS_sulimov = no
		}
		continue_if_invalid = yes
		cancel = {
			OR = {
				is_faction_leader = no
				has_country_flag = KR_copenhagen_conference_success
			}
		}
		bypass = {
			NOT = { can_declare_war_on = GER }
		}
		prerequisite = {
			focus = RUS_operation_yekaterina
		}
		will_lead_to_war_with = POL
		will_lead_to_war_with = BAT
		will_lead_to_war_with = EST
		will_lead_to_war_with = LAT
		will_lead_to_war_with = LIT
		will_lead_to_war_with = BLR
		will_lead_to_war_with = UKR
		will_lead_to_war_with = GAL
		will_lead_to_war_with = HUN
		will_lead_to_war_with = CZE
		will_lead_to_war_with = SLO
		will_lead_to_war_with = SLV
		will_lead_to_war_with = CRO
		will_lead_to_war_with = TRS
		will_lead_to_war_with = GEO
		will_lead_to_war_with = AZR
		ai_will_do = {
			factor = 3000
			modifier = {
				factor = 0
				RUS_dont_attack_if_vulnerable_or_preparing = yes
			}
			modifier = {
				factor = 0
				UKR = {
					is_in_faction_with = GER
					RUS_dont_attack_if_target_is_stronger = yes
				}
			}
			modifier = {
				factor = 0
				POL = {
					is_in_faction_with = GER
					RUS_dont_attack_if_target_is_stronger = yes
				}
			}
		}
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_preemptive_war"
			if = {
				limit = {
					UKR = { is_in_faction_with = AUS }
					AUS = { is_faction_leader = yes } #Donau-Adriabund / Sarajevo Accords
				}
				AUS = { country_event = { id = russia_foreign_policy_events.1400 days = 2 } }
			}
			country_event = { id = russia_flavour_events.102 days = 14 }
			country_event = { id = russia_flavour_events.103 days = 23 }
			country_event = { id = russia_flavour_events.114 days = 24 }
			country_event = { id = russia_flavour_events.131 days = 16 }
			country_event = { id = russia_flavour_events.23 days = 200 random_days = 100 }
			set_country_flag = { flag = imminent_war days = 60 value = 1 }
			country_event = { id = russia_events.269 days = 1 } #Radio speech by the Secretary of SZRS, Karol Vendzyagolsky
			#Add war start events for other governments - Tsar's speech, etc
			if = {
				limit = { OTT_ottomans_defeated = no }
				OTT = { country_event = ottomans_foreign_policy_events.51 }
			}
			random_country = {
				limit = {
					is_ai = no
					OR = {
						has_country_flag = MIE_member
						AND = {
							OR = {
								original_tag = POL
								original_tag = UKR
							}
							is_in_faction_with = AUS
							AUS = { is_faction_leader = yes }
						}
					}
				}
				country_event = intermarium_events.19 # MIE hard mode #
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_preemptive_war"
			hidden_effect = {
				if = {
					limit = { has_global_flag = allow_sound_events_flag }
					if = {
						limit = { has_government = national_populist }
						scoped_play_song = "slavsya"
					}
					else_if = {
						limit = { is_monarchy = yes }
						scoped_play_song = "march_of_the_siberian_riflemen"
					}
					else_if = {
						limit = { has_socialist_government = yes }
						scoped_play_song = "rus_katyusha"
					}
					else = {
						scoped_play_song = "farewell_of_slavianka"
					}
				}
				RUS_fifth_column_effects = yes
				remove_mission = RUS_military_demands
				country_event = { id = russia_flavour_events.99 days = 20 } #On the Wide Steppe
				country_event = { id = russia_flavour_events.136 days = 120 } #He is Back
				country_event = { id = russia_flavour_events.45 days = 90 } #Committee for International Workers' Struggle"
				country_event = { id = russia_foreign_policy_events.1 days = 60 } #Korpus Polski w Rosji
				country_event = { id = russia_flavour_events.161 days = 365 } #Daughters of the Motherland
				country_event = { id = russia_flavour_events.168 days = 30 random_days = 60 } #Volunteer Battalions
				country_event = { id = russia_flavour_events.169 days = 120 random_days = 60 } #Shturmoviks
				if = {
					limit = {
						RUS_savinkov = yes
						RUS_pyotr_wrangel = { is_army_chief = yes }
						check_variable = { RUS_military_anger > 5 }
					}
					country_event = { id = russia_monarchist_events.78 days = 20 random_days = 5 }
				}
				if = {
					limit = {
						is_ai = yes
						has_global_flag = MIE_east_no_help
						OR = {
							GER = {
								any_allied_country = {
									is_ai = no
									is_possible_intermarium_country = yes
								}
							}
							AUS = {
								any_allied_country = {
									is_ai = no
									is_possible_intermarium_country = yes
								}
							}
						}
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 100000
					}
				}
			}
			if = {
				limit = {
					FRA = { NOT = { has_war_with = GER } }
				}
				custom_effect_tooltip = RUS_preemptive_war_tt
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = { can_declare_war_on = GER }
				declare_war_on = {
					target = GER
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = BLR
					BLR = { NOT = { is_in_faction_with = INT } }
				}
				declare_war_on = {
					target = BLR
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = UKR
					UKR = { NOT = { is_in_faction_with = INT } }
				}
				declare_war_on = {
					target = UKR
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = BAT
				}
				declare_war_on = {
					target = BAT
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = GEO
					OR = {
						has_global_flag = RUSSIAN_OTTOMAN_DEAL_GEO_ANNEX
						NOT = { has_global_flag = RUSSIAN_OTTOMAN_DEAL }
					}
					GEO = {
						OR = {
							is_subject = no
							is_ally_with = GER
							is_guaranteed_by = GER
						}
						NOT = { is_guaranteed_by = ROOT }
					}
				}
				declare_war_on = {
					target = GEO
					type = annex_everything
				}
			}
			if = {
				limit = {
					can_declare_war_on = AZR
					NOT = { has_global_flag = RUSSIAN_OTTOMAN_DEAL }
					AZR = {
						OR = {
							is_subject = no
							is_ally_with = GER
							is_guaranteed_by = GER
						}
						NOT = {
							AND = {
								is_in_faction_with = TUR
								TUR = { is_faction_leader = yes }
							}
						}
					}
				}
				declare_war_on = {
					target = AZR
					type = annex_everything
				}
			}
			hidden_effect = {
				every_other_country = {
					limit = {
						is_in_faction_with = GER
						OR = {
							original_tag = FIN
							original_tag = EST
							original_tag = LAT
							original_tag = LIT
							original_tag = BLR
							original_tag = UKR
							original_tag = POL
						}
						ROOT = { can_declare_war_on = PREV }
					}
					add_to_war = {
						targeted_alliance = GER
						enemy = ROOT
					}
				}
				RUS_western_march_plan = yes
			}
			if = {
				limit = { has_global_flag = RUSSIAN_OTTOMAN_DEAL }
				custom_effect_tooltip = tooltip_white_line
				OTT_russo_ottoman_convention_effect = yes
			}
			custom_effect_tooltip = tooltip_white_line
			set_temp_variable = { RUS_war_with_GER = 1 } #hides the event in the tooltip
			RUS_remove_german_economic_influence = yes
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_rebirth_of_russia
		icon = GFX_goal_RUS_lone_warrior
		cost = 5

		relative_position_id = RUS_preemptive_war
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_preemptive_war
		}
		available = {
			NOT = { country_exists = GER }
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				has_country_flag = RUS_old_svobodnik_ai
				NOT = { has_completed_focus = RUS_project_sumerki }
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rebirth_of_russia"
			set_temp_variable = { RUS_anger_change = -2 }
			RUS_change_popular_anger = yes
			set_temp_variable = { RUS_anger_change = -2 }
			RUS_change_military_anger = yes
			set_temp_variable = { RUS_power_change = 20 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					RUS_is_expansionist = yes
				}
				activate_targeted_decision = { decision = RUS_Demand_Bessarabia target = ROM }
				if = {
					limit = {
						POL = { NOT = { is_in_faction_with = RUS } }
					}
					activate_targeted_decision = { decision = RUS_attack target = POL }
				}
				random_country = {
					limit = {
						owns_state = 91
						NOT = { is_in_faction_with = RUS }
					}
					ROOT = { activate_targeted_decision = { decision = RUS_Demand_Galicia target = var:91.owner } }
				}
			}
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				GEO = { enable_country_integration_80_compliance = yes }
				AZR = { enable_country_integration_80_compliance = yes }
				ARM = { enable_country_integration_80_compliance = yes }
			}
			hidden_effect = {
				229 = { enable_state_integration_80_compliance = yes } #Azerbaijan
				230 = { enable_state_integration_80_compliance = yes } #Yerevan
				231 = { enable_state_integration_80_compliance = yes } #Georgia
				585 = { enable_state_integration_80_compliance = yes } #Batumi
				998 = { enable_state_integration_80_compliance = yes } #Karabagh
				1000 = { enable_state_integration_80_compliance = yes } #Kars
				1080 = { enable_state_integration_80_compliance = yes } #Abkhazia

				country_event = { id = russia_events.1156 days = 30 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_free_baltic_in_free_russia
		icon = GFX_focus_SOV_baltic_security
		cost = 3

		relative_position_id = RUS_rebirth_of_russia
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_rebirth_of_russia
		}
		available = {
			any_state_of = {
				target = { 11 13 842 } #Kaunas, Estonia, Riga
				is_owned_by_ROOT_or_ally = yes
			}
		}
		bypass = {
			OR = {
				NOT = {
					owns_any_state_of = {
						13 #Kaunas
						11 #Estonia
						842 #Riga
					}
				}
				AND = {
					11 = { owner = { is_subject_of = ROOT } } #Kaunas
					13 = { owner = { is_subject_of = ROOT } } #Estonia
					842 = { owner = { is_subject_of = ROOT } } #Riga
				}
			}
		}

		ai_will_do = { factor = 60 }

		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_free_baltic_in_free_russia"
			if = {
				limit = {
					OR = {
						EST = {
							is_in_faction_with = RUS
							is_subject = no
						}
						LAT = {
							is_in_faction_with = RUS
							is_subject = no
						}
						LIT = {
							is_in_faction_with = RUS
							is_subject = no
						}
					}
				}
				country_event = russia_events.1131
			}
			else = {
				country_event = { id = russia_events.1130 days = 10 }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_free_baltic_in_free_russia"
			activate_targeted_decision = { decision = RUS_rebuild_baltics target = 12 }
			effect_tooltip = {
				EST = { enable_country_integration_80_compliance = yes }
				LAT = { enable_country_integration_80_compliance = yes }
				LIT = { enable_country_integration_80_compliance = yes }
			}
			hidden_effect = {
				11 = { enable_state_integration_80_compliance = yes } #Kaunus
				12 = { enable_state_integration_80_compliance = yes } #Livonia
				13 = { enable_state_integration_80_compliance = yes } #Estonia (Reval)
				94 = { enable_state_integration_80_compliance = yes } #Volkovysk
				96 = { enable_state_integration_80_compliance = yes } #Vilnius
				97 = { enable_state_integration_80_compliance = yes } #Bialystok
				188 = { enable_state_integration_80_compliance = yes } #Memel
				189 = { enable_state_integration_80_compliance = yes } #Samogitia
				190 = { enable_state_integration_80_compliance = yes } #Courland
				191 = { enable_state_integration_80_compliance = yes } #Northern Livonia
				655 = { enable_state_integration_80_compliance = yes } #Sudovia
				842 = { enable_state_integration_80_compliance = yes } #Riga
			}
			if = {
				limit = { has_country_flag = RUS_ensure_federalism_law }
				every_owned_state = {
					limit = {
						OR = {
							is_core_of = EST
							is_core_of = LAT
							is_core_of = LIT
							is_core_of = BAT
						}
						NOT = { is_core_of = ROOT }
					}
					add_compliance = 5
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_annex_the_bandit_states_tt
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_master_of_baltic
		icon = GFX_focus_FIN_finnish_influence_in_the_baltic
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = -2
		y = 2

		prerequisite = {
			focus = RUS_free_baltic_in_free_russia
		}
		bypass = {
			var:840.owner = { is_ally_with = RUS } #Helsinki
			var:141.owner = { is_ally_with = RUS } #Stockholm
			var:110.owner = { is_ally_with = RUS } #Oslo
			var:37.owner = { is_ally_with = RUS } #Copenhagen
			var:100.owner = { is_ally_with = RUS } #Iceland
		}
		ai_will_do = { factor = 60 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_master_of_baltic"
			#Invite SCA countries into MA, maybe add baltic accord/economy stuff later...
			every_country = {
				limit = {
					OR = {
						tag = FIN
						tag = SWE
						tag = NOR
						tag = DEN
						tag = ICE
						tag = SCA
					}
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
						has_socialist_government = yes
					}
				}
				country_event = { id = russia_foreign_policy_events.12 days = 3 random_days = 3 }
			}
			if = {
				limit = {
					FIN = {
						OR = {
							exists = no
							is_ally_with = RUS
							has_idea = RUS_FIN_neutrality
							has_socialist_government = yes
						}
					}
					SWE = {
						exists = yes
						NOT = { is_ally_with = RUS }
						has_socialist_government = no
						is_in_faction = no
					}
				}
				activate_targeted_decision = { target = SWE decision = RUS_invite_alliance }
				if = {
					limit = {
						NOR = {
							exists = yes
							NOT = { is_ally_with = RUS }
							has_socialist_government = no
							is_in_faction = no
						}
					}
					activate_targeted_decision = { target = NOR decision = RUS_invite_alliance }
				}
			}
			if = {
				limit = {
					DEN = {
						exists = yes
						NOT = { is_ally_with = RUS }
						is_in_faction = no
						has_socialist_government = no
						any_neighbor_country = {
							OR = {
								is_ally_with = RUS
								has_socialist_government = yes
							}
						}
					}
				}
				activate_targeted_decision = { target = DEN decision = RUS_invite_alliance }
			}
			every_country = {
				limit = {
					OR = {
						tag = EST
						tag = LAT
						tag = LIT
					}
					has_socialist_government = no
				}
				country_event = { id = russia_foreign_policy_events.5 days = 3 }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_union_with_ukraine
		icon = GFX_goal_UKR_shield
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = 1
		y = 1

		prerequisite = { focus = RUS_rebirth_of_russia }
		ai_will_do = { factor = 60 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_union_with_ukraine"
			country_event = { id = russia_events.1101 days = 5 random_days = 10 } #Administrative Division of Ukraine
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { decision = RUS_rebuild_east_ukraine target = 221 }
			activate_targeted_decision = { decision = RUS_rebuild_west_ukraine target = 202 }
			activate_targeted_decision = { decision = RUS_rebuild_south_ukraine target = 197 }
			UKR = { enable_state_integration_80_tooltip = yes }
			hidden_effect = {
				country_event = { id = russia_flavour_events.179 days = 90 random_days = 250 }
				country_event = { id = russia_flavour_events.180 days = 90 random_days = 250 }
				country_event = { id = russia_flavour_events.181 days = 365 random_days = 20 }
				73 = { enable_state_integration_80_compliance = yes } #Transcarpathia
				78 = { enable_state_integration_80_compliance = yes } #Bessarabia
				80 = { enable_state_integration_80_compliance = yes } #Cernauti
				89 = { enable_state_integration_80_compliance = yes } #Stanislawow
				91 = { enable_state_integration_80_compliance = yes } #Lwow
				93 = { enable_state_integration_80_compliance = yes } #Brest
				137 = { enable_state_integration_80_compliance = yes } #Crimea
				192 = { enable_state_integration_80_compliance = yes } #Odessa
				193 = { enable_state_integration_80_compliance = yes } #Chernigov
				196 = { enable_state_integration_80_compliance = yes } #Taurida
				197 = { enable_state_integration_80_compliance = yes } #Kherson
				198 = { enable_state_integration_80_compliance = yes } #Vinnitsa
				199 = { enable_state_integration_80_compliance = yes } #Proskurov
				200 = { enable_state_integration_80_compliance = yes } #Aleksandrovsk
				201 = { enable_state_integration_80_compliance = yes } #Zhitomir
				202 = { enable_state_integration_80_compliance = yes } #Kiev
				203 = { enable_state_integration_80_compliance = yes } #Cherkasy
				221 = { enable_state_integration_80_compliance = yes } #Kharkov
				225 = { enable_state_integration_80_compliance = yes } #Sumy
				226 = { enable_state_integration_80_compliance = yes } #Ekatorinoslav
				227 = { enable_state_integration_80_compliance = yes } #Yuzovka
				228 = { enable_state_integration_80_compliance = yes } #Starobyelsk
				259 = { enable_state_integration_80_compliance = yes } #Poltava
				791 = { enable_state_integration_80_compliance = yes } #Starodub
				792 = { enable_state_integration_80_compliance = yes } #Volhynia
				821 = { enable_state_integration_80_compliance = yes } #Pavlograd
				997 = { enable_state_integration_80_compliance = yes } #Polesia
				241 = { enable_state_integration_80_compliance = yes } #Gomel
				1088 = { enable_state_integration_80_compliance = yes } #Chelm
			}
			if = {
				limit = {
					has_country_flag = RUS_ensure_federalism_law
					has_completed_focus = RUS_all-russian_equality
					has_soclib_or_socdem_government = yes
				}
				every_owned_state = {
					limit = { is_core_of = UKR }
					add_compliance = 10
				}
			}
			else_if = {
				limit = {
					has_completed_focus = RUS_all-russian_equality
					has_soclib_or_socdem_government = yes
				}
				every_owned_state = {
					limit = { is_core_of = UKR }
					add_compliance = 5
				}
			}
			else_if = {
				limit = { has_country_flag = RUS_ensure_federalism_law }
				every_owned_state = {
					limit = { is_core_of = UKR }
					add_compliance = 5
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}
	focus = {
		id = RUS_brotherhood_with_belarus
		icon = GFX_goal_BLR_coat_of_arms_authoritarian
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = 3
		y = 1

		prerequisite = { focus = RUS_rebirth_of_russia }
		ai_will_do = { factor = 60 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_brotherhood_with_belarus"
			country_event = russia_events.1125 #Recovered Northwestern Gubernias
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { decision = RUS_rebuild_belarus target = 206 }
			#some mechanic
			BLR = { enable_state_integration_80_tooltip = yes }
			hidden_effect = {
				1087 = { enable_state_integration_80_compliance = yes } #Mogilev
				207 = { enable_state_integration_80_compliance = yes } #Braslav
				206 = { enable_state_integration_80_compliance = yes } #Minsk
				194 = { enable_state_integration_80_compliance = yes } #Mozyr
				204 = { enable_state_integration_80_compliance = yes } #Novogrudok
				95 = { enable_state_integration_80_compliance = yes } #Pinsk
				97 = { enable_state_integration_80_compliance = yes } #Bialystok
				96 = { enable_state_integration_80_compliance = yes } #Vilnius
				if = {
					limit = {
						owns_state = 94
					}
					94 = { enable_state_integration_80_compliance = yes } #Volkovysk
				}
			}
			if = {
				limit = {
					has_country_flag = RUS_ensure_federalism_law
					has_completed_focus = RUS_all-russian_equality
					has_soclib_or_socdem_government = yes
				}
				every_owned_state = {
					limit = { is_core_of = BLR }
					add_compliance = 10
				}
			}
			else_if = {
				limit = {
					has_completed_focus = RUS_all-russian_equality
					has_soclib_or_socdem_government = yes
				}
				every_owned_state = {
					limit = { is_core_of = BLR }
					add_compliance = 5
				}
			}
			else_if = {
				limit = { has_country_flag = RUS_ensure_federalism_law }
				every_owned_state = {
					limit = { is_core_of = BLR }
					add_compliance = 5
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_destroy_partisans
		icon = GFX_goal_flames_of_rebellion
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = 2
		y = 2

		prerequisite = { focus = RUS_brotherhood_with_belarus }
		prerequisite = { focus = RUS_union_with_ukraine }

		ai_will_do = { factor = 60 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_destroy_partisans"
			add_timed_idea = {
				idea = RUS_anti_partisan_guard
				days = 730
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_unlocks_on_map_decisions
			activate_targeted_decision = { target = 202 decision = RUS_fight_separatism }
			activate_targeted_decision = { target = 206 decision = RUS_fight_separatism }
			if = {
				limit = { owns_state = 10 } #Warsaw
				activate_targeted_decision = { target = 10 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 840 } #Nyland
				activate_targeted_decision = { target = 840 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 13 } #Estonia
				activate_targeted_decision = { target = 13 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 842 } #Riga
				activate_targeted_decision = { target = 842 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 11 } #Kaunas
				activate_targeted_decision = { target = 11 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 231 } #Georgia
				activate_targeted_decision = { target = 231 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 229 } #Baku
				activate_targeted_decision = { target = 229 decision = RUS_fight_separatism }
			}
			if = {
				limit = { owns_state = 230 } #Yerevan
				activate_targeted_decision = { target = 230 decision = RUS_fight_separatism }
			}
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = RUS_anti_internationale
		icon = GFX_focus_ger_break_anglo_french_colonial_hegemony
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = 0
		y = 2

		prerequisite = { focus = RUS_brotherhood_with_belarus }
		prerequisite = { focus = RUS_union_with_ukraine }
		prerequisite = {
			focus = RUS_free_baltic_in_free_russia
		}
		available = { country_exists = INT }

		ai_will_do = { factor = 60 }

		bypass = {
			OR = {
				OR = {
					has_war_with = FRA
					has_war_with = ENG
				}
				NOT = { country_exists = FRA }
				NOT = { country_exists = ENG }
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_anti_internationale"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			every_other_country = {
				limit = {
					is_in_europe = yes
					has_socialist_government = no
					OR = {
						is_subject = no
						is_subject_of = RUS
					}
					NOT = {
						has_non_aggression_pact_with = ENG
						has_non_aggression_pact_with = FRA
						has_war_with = INT
						has_war_with = RUS
						tag = GER
					}
				}
				country_event = russia_foreign_policy_events.202  #Anti Internationale Pact Event
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					every_country = {
						limit = {
							is_in_europe = yes
							has_socialist_government = no
							OR = {
								is_subject = no
								is_subject_of = RUS
							}
							NOT = {
								has_non_aggression_pact_with = ENG
								has_non_aggression_pact_with = FRA
								has_war_with = INT
								has_war_with = RUS
								tag = GER
								tag = RUS
							}
						}
						add_ideas = RUS_anti_internationale_pact
						custom_effect_tooltip = RUS_anti_internationale_tt
					}
				}
			}
			if = {
				limit = {
					ENT = {
						NOT = { is_ally_with = 361.owner } #Washington DC
					}
					country_exists = FRA
					country_exists = INT
				}
				custom_effect_tooltip = RUS_rally_entente_tt
				custom_effect_tooltip = tooltip_white_line
				activate_targeted_decision = { decision = RUS_rally_entente target = ENT }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_curtain_across_europe
		icon = GFX_focus_SWE_refuge_from_war
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = -1
		y = 3
		#offset = {
		#	x = 1
		#	trigger = { has_completed_focus = RUS_savior_of_world }
		#}

		prerequisite = { focus = RUS_brotherhood_with_belarus }
		prerequisite = { focus = RUS_union_with_ukraine }
		prerequisite = { focus = RUS_free_baltic_in_free_russia }
		mutually_exclusive = { focus = RUS_extinguish_the_flame }
		available = {
			OR = {
				has_completed_focus = RUS_third_russia
				has_completed_focus = RUS_great_forgiving
				has_completed_focus = RUS_escaping_the_cycle
				has_completed_focus = RUS_first_party_of_russia
				has_completed_focus = RUS_european_policeman
				has_completed_focus = RUS_return_to_tradition
			}
			NOT = { has_completed_focus = RUS_third_angel }
			country_exists = INT
		}
		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_old_svobodnik_ai
					has_country_flag = RUS_ideocrat_ai
				}
			}
			modifier = {
				factor = 0
				date < 1943.6.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_curtain_across_europe"
			set_temp_variable = { RUS_power_change = 30 }
			RUS_change_projection = yes
			if = {
				limit = {
					RUS_savinkov = no #Gets idea through nuclear decisions
					has_idea = RUS_cold_war
				}
				swap_ideas = {
					remove_idea = RUS_cold_war
					add_idea = RUS_cold_war_2
				}
			}
			else_if = {
				limit = {
					NOT = {
						has_idea = RUS_cold_war
						has_idea = RUS_cold_war_2
					}
				}
				add_ideas = RUS_cold_war
			}
			custom_effect_tooltip = RUS_curtain_across_europe_tt
			mark_focus_tree_layout_dirty = yes
			hidden_effect = {
				every_other_country = {
					limit = {
						is_in_europe = yes
						is_in_faction = no
						has_socialist_government = no
						NOT = { is_guaranteed_by = RUS }
					}
					add_to_array = { RUS.RUS_guarantee_countries = THIS }
					for_each_loop = {
						array = RUS.RUS_guarantee_countries
						value = v
						RUS = { give_guarantee = v }
					}
				}
				every_other_country = {
					limit = {
						is_in_faction_with = RUS
						any_neighbor_country = {
							is_in_faction_with = FRA
						}
					}
					random_owned_controlled_state = {
						add_building_construction = {
							type = air_base
							level = 3
							instant_build = yes
						}
					}
				}
			}
			#cold war with INT, postwar conference mechanic
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_extinguish_the_flame
		icon = GFX_goal_RUS_extinguish_flame
		cost = 5

		relative_position_id = RUS_rebirth_of_russia
		x = 1
		y = 3
		available = {
			NOT = { has_global_flag = tilsit_peace_success }
			NOT = { has_non_aggression_pact_with = INT }
			has_army_manpower = { size > 2000000 }
			has_navy_size = { size > 149 }
			has_deployed_air_force_size = { size > 5999 }
			custom_override_tooltip = {
				tooltip = RUS_power_projection_40_cost
				check_variable = { RUS_power_projection > 39 }
			}
			OR = {
				has_completed_focus = RUS_third_russia
				has_completed_focus = RUS_great_forgiving
				has_completed_focus = RUS_escaping_the_cycle
				has_completed_focus = RUS_first_party_of_russia
				has_completed_focus = RUS_european_policeman
				has_completed_focus = RUS_return_to_tradition
			}
			NOT = { has_completed_focus = RUS_savior_of_world }
			country_exists = INT
		}
		prerequisite = { focus = RUS_brotherhood_with_belarus }
		prerequisite = { focus = RUS_union_with_ukraine }
		prerequisite = {
			focus = RUS_free_baltic_in_free_russia
		}
		mutually_exclusive = { focus = RUS_curtain_across_europe }
		ai_will_do = {
			factor = 75
			modifier = {
				factor = 0
				has_soclib_or_socdem_government = yes
			}
			modifier = {
				add = -5
				has_soccon_or_marlib_government = yes
				NOT = { num_faction_members > 15 }
			}
			modifier = {
				add = 5
				has_completed_focus = RUS_ideocratic_principle
				owns_state = 617
				owns_state = 330
				owns_state = 716
			}
			modifier = {
				add = 10
				has_navy_size = { size > 250 }
			}
			modifier = {
				factor = 0
				date < 1943.6.1
			}
			modifier = {
				add = 10
				any_country_with_original_tag_of = {
					target = { POL BLR UKR LIT LAT EST FIN }
					is_ally_with = INT
				}
			}
			modifier = {
				factor = 0
				has_completed_focus = RUS_codification_of_regime
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_old_svobodnik_ai #use Third Angel instead
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_ideocrat_ai
				NOT = { has_completed_focus = RUS_heiress_of_genghis }
			}
			modifier = {
				factor = 0
				NOT = { has_game_rule = { rule = RUS_conference option = DEFAULT } }
				NOT = { has_country_flag = RUS_old_svobodnik_ai }
				NOT = { has_country_flag = RUS_ideocrat_ai }
			}
		}
		bypass = {
			OR = {
				has_war_with = FRA
				has_war_with = ENG
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_extinguish_the_flame"
			set_temp_variable = { RUS_power_change = -40 }
			RUS_change_projection = yes
			if = {
				limit = { country_exists = FRA }
				create_wargoal = {
					target = FRA
					type = topple_government
				}
			}
			if = {
				limit = { country_exists = ENG }
				create_wargoal = {
					target = ENG
					type = topple_government
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

##International diplomacy
	focus = {
		id = RUS_franco_russian_treaty
		icon = GFX_goal_RUS_franco_russian_treaty
		cost = 5

		relative_position_id = RUS_third_europe
		x = -4
		y = 1
		ai_will_do = {
			base = 5
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 2
				date > 1937.5.1
			}
			modifier = {
				add = 2
				date > 1937.12.1
			}
			modifier = {
				add = 5
				check_variable = { RUS_left_anger > 5 }
			}
			modifier = {
				factor = 10
				has_government = social_democrat
				has_active_mission = RUS_titov_demands_from_left
			}
			modifier = {
				factor = 2
				date > 1938.5.1
				has_completed_focus = RUS_military_production
			}
			modifier = {
				factor = 0.2
				date > 1939.5.1 #probably won't get much use out of the effects here
			}
		}
		bypass = {
			OR = {
				has_war_with = GER
				NOT = { country_exists = FRA }
			}
		}
		prerequisite = { focus = RUS_third_europe }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_franco_russian_treaty"
			hidden_effect = {
				INT = { country_event = { id = russia_foreign_policy_events.105 days = 2 } }
				ENG = { country_event = { id = russia_foreign_policy_events.105 days = 4 } }
			}
			custom_effect_tooltip = RUS_if_FRA_accept_only
			effect_tooltip = {
				add_ideas = RUS_INT_deal_2
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_if_both_accept
			effect_tooltip = {
				add_ideas = RUS_INT_deal_3
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_recipent_gains
			effect_tooltip = {
				add_ideas = RUS_INT_deal
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_remove_agreement_after_war
			if = {
				limit = { has_idea = RUS_left_anger }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
			if = {
				limit = { has_active_mission = RUS_titov_demands_from_left }
				add_days_mission_timeout = {
					mission = RUS_titov_demands_from_left
					days = 90
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_kama_tank_centre
		icon = GFX_goal_ENG_britannias_tanks
		cost = 4

		relative_position_id = RUS_franco_russian_treaty
		x = -1
		y = 1

		ai_will_do = { base = 5 }
		bypass = {
			OR = {
				NOT = { country_exists = FRA }
				NOT = { country_exists = GER }
			}
		}

		prerequisite = { focus = RUS_franco_russian_treaty }
		available = {
			custom_override_tooltip = {
				tooltip = RUS_power_projection_10_cost
				check_variable = { RUS_power_projection > 9 }
			}
			country_exists = INT
			NOT = { has_war_with = INT }
		}
		mutually_exclusive = { focus = RUS_approach_entente }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_kama_tank_centre"
			set_temp_variable = { RUS_power_change = -10 }
			RUS_change_projection = yes
			if = {
				limit = {
					controls_province = 6338 #Kazan
					249 = { #Kazan
						is_fully_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				249 = { #Kazan
					custom_override_tooltip = {
						add_building_construction = {
							type = land_facility
							level = 1
							province = 6338 #Kazan
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = land_facility
							NUMBER = 1
							VP = 6338
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 249 251 256 399 651 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
			}
			add_tech_bonus = {
				name = RUS_kama_tank_centre
				bonus = 1.0
				uses = 1
				category = armor
			}
			FRA = { country_event = russia_foreign_policy_events.11 }
			ENG = { country_event = russia_foreign_policy_events.11 }
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_eureka_conference
		icon = GFX_focus_SWE_refuge_from_war
		cost = 5

		relative_position_id = RUS_franco_russian_treaty
		x = 0
		y = 2

		ai_will_do = {
			base = 10
			modifier = {
				factor = 3
				has_elected_government = yes
			}
			modifier = {
				factor = 10
				date > 1941.1.1
			}
			modifier = {
				factor = 0
				OR = {
					has_country_flag = RUS_old_svobodnik_ai
					has_country_flag = RUS_ideocrat_ai
				}
			}
		}

		prerequisite = {
			focus = RUS_kama_tank_centre
			focus = RUS_approach_entente
		}
		available = {
			NOT = { country_exists = GER }
			NOT = { has_completed_focus = RUS_extinguish_the_flame }
		}
		bypass = {
			OR = {
				has_war_with = INT
				INT = {
					NOT = { is_ally_with = FRA }
					NOT = { is_ally_with = ENG }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_eureka_conference"
			if = {
				limit = {
					ENG = { is_ai = no }
					INT = {
						tag = FRA
						is_ai = yes
					}
				}
				ENG = { country_event = { id = russia_foreign_policy_events.204 days = 3 random_days = 1 } }
			}
			else = {
				INT = { country_event = { id = russia_foreign_policy_events.204 days = 3 random_days = 1 } }
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_eureka_conference_tt
			if = {
				limit = { has_idea = RUS_left_anger }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_left_anger = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_the_american_ice_march
		icon = GFX_goal_RUS_american_ice_march #GFX_goal_RUS_american_liberty
		cost = 3

		relative_position_id = RUS_third_europe
		x = -2
		y = 1

		ai_will_do = { base = 15 }

		prerequisite = { focus = RUS_third_europe }
		available = {
			country_exists = WCA
			custom_override_tooltip = {
				tooltip = ACW_has_supported_side
				country_exists = var:ACW_supported_tag
			}
		}
		bypass = {
			has_global_flag = USA_civil_war_begun_flag
			OR = {
				has_global_flag = USA_civil_war_over_flag
				NOT = { country_exists = WCA }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_the_american_ice_march"
			set_temp_variable = { RUS_power_change = 5 }
			RUS_change_projection = yes
			add_ideas = RUS_america_attache
			if = {
				limit = { has_idea = RUS_military_anger_dem }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_right_anger = yes
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_restoration_of_AMTORG
		icon = GFX_goal_RUS_amtorg
		cost = 4

		relative_position_id = RUS_the_american_ice_march
		x = 0
		y = 2

		ai_will_do = { base = 30 }

		prerequisite = { focus = RUS_the_american_ice_march }
		available = {
			has_global_flag = USA_civil_war_over_flag
			NOT = { country_exists = WCA }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_restoration_of_AMTORG"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			add_political_power = 50
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { country_exists = var:ACW_supported_tag }
				add_ideas = RUS_renewed_american_trade2
			}
			else = {
				add_ideas = RUS_renewed_american_trade
				custom_effect_tooltip = RUS_renewed_american_trade_tt
			}
			hidden_effect = { var:361.owner = { country_event = russia_flavour_events.173 } } #Washington DC
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_approach_entente
		icon = GFX_goal_entente_arms_trade
		cost = 5

		relative_position_id = RUS_the_american_ice_march
		x = -1
		y = 1

		prerequisite = { focus = RUS_the_american_ice_march }
		mutually_exclusive = { focus = RUS_kama_tank_centre }
		available = {
			country_exists = ENT
			NOT = { has_war_with = ENT }
			custom_override_tooltip = {
				tooltip = RUS_power_projection_10_cost
				check_variable = { RUS_power_projection > 9 }
			}
		}
		bypass = {
			NOT = { country_exists = ENT }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_approach_entente"
			set_temp_variable = { RUS_power_change = -10 }
			RUS_change_projection = yes
			add_named_threat = {
				threat = -2
				name = RUS_approach_entente
			}
			ENT = {
				country_event = { id = russia_foreign_policy_events.117 days = 5 }
			}
			if = {
				limit = { has_idea = RUS_right_anger }
				set_temp_variable = { RUS_anger_change = -1 }
				RUS_change_right_anger = yes
			}
			custom_effect_tooltip = RUS_approach_entente_tt
			show_ideas_tooltip = RUS_ruskapa
			effect_tooltip = {
				set_temp_variable = { RUS_influence_change = -1 }
				RUS_change_german_economic_influence = yes
			}
			if = {
				limit = { RUS_savinkov = yes }
				add_power_balance_value = {
					id = RUS_power_balance
					value = -0.05
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	#Central Asia Branch
	focus = {
		id = RUS_white_sun_of_desert
		icon = GFX_goal_RUS_central_asia
		cost = 3

		relative_position_id = RUS_third_europe
		x = 8
		y = 1

		prerequisite = {
			focus = RUS_third_europe
		}
		bypass = {
			OR = {
				has_country_flag = RUS_lost_central_asia_war
				TRK = {
					OR = {
						exists = no
						is_subject_of = RUS
					}
				}
			}
		}
		ai_will_do = {
			factor = 15
			modifier = {
				add = 20
				date > 1937.1.1
			}
			modifier = {
				factor = 10
				has_idea = RUS_kazakh_unrest
			}
			modifier = {
				factor = 0
				date > 1937.5.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_white_sun_of_desert"
			RUS_cossack_division_check = yes
			random_owned_controlled_state = {
				prioritize = { 589 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_units
						COUNT = 2
						TYPE = "Kazachya diviziya"
					}
					create_unit = {
						division = "division_template = \"Kazachya diviziya\" start_experience_factor = 0.5"
						owner = ROOT
						count = 2
					}
				}
			}
			activate_targeted_decision = { target = 404 decision = RUS_central_asia_railroads }
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_CA_wargoals_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_annex_the_bandit_states
		icon = GFX_focus_TUR_turanist_ambition
		cost = 5

		relative_position_id = RUS_white_sun_of_desert
		x = -1
		y = 1

		prerequisite = { focus = RUS_white_sun_of_desert }
		prerequisite = { focus = RUS_end_vilnius_agreement }
		mutually_exclusive = { focus = RUS_pacify_the_frontier }
		available = {
			NOT = { country_exists = TRK }
			407 = { is_controlled_by_ROOT_or_ally = yes }
			861 = { is_controlled_by_ROOT_or_ally = yes }
			controls_state = 405
		}
		ai_will_do = { factor = 80 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_annex_the_bandit_states"
			remove_ideas = RUS_kazakh_unrest
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				KAZ = { enable_country_integration_50_compliance = yes }
				TRK = { enable_country_integration_80_compliance = yes }
				KHI = { enable_country_integration_80_compliance = yes }
				BUK = { enable_country_integration_80_compliance = yes }
			}
			hidden_effect = {
				every_state = {
					limit = { is_central_asia = yes }
					if = {
						limit = { has_dynamic_modifier = { modifier = RUS_central_asia_chaos } }
						remove_dynamic_modifier = { modifier = RUS_central_asia_chaos }
					}
					force_enable_resistance = { occupier = RUS clear = yes }
					add_claim_of_ROOT = yes
					if = {
						limit = { is_alash = yes }
						enable_state_integration_50_compliance = yes
					}
					else = {
						enable_state_integration_80_compliance = yes
					}
				}
				418 = { enable_state_integration_50_compliance = yes } #Ashkhabad
				country_event = russia_events.576 #Federalism in Turkestan
				country_event = { id = russia_events.575 days = 5 } #Fate of Alash Autonomy
				country_event = { id = russia_events.963 days = 30 } #Victory Parade
				country_event = { id = russia_events.577 days = 90 } #Spiritual Administration of the Muslims of Central Asia
				country_event = { id = russia_flavour_events.174 days = 185 } #War of the Basmachi Goes On
				every_owned_state = {
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_annex_the_bandit_states_tt
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = RUS_pacify_the_frontier
		icon = GFX_goal_OTT_Muslim_Relations
		cost = 5

		relative_position_id = RUS_white_sun_of_desert
		x = 1
		y = 1

		prerequisite = { focus = RUS_white_sun_of_desert }
		prerequisite = { focus = RUS_end_vilnius_agreement }
		mutually_exclusive = { focus = RUS_annex_the_bandit_states }
		available = {
			has_subject = BUK
			NOT = { country_exists = TRK }
		}
		ai_will_do = { factor = 80 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_pacify_the_frontier"
			remove_ideas = RUS_kazakh_unrest
			custom_effect_tooltip = tooltip_white_line
			effect_tooltip = {
				KAZ = { enable_country_integration_50_compliance = yes }
			}
			hidden_effect = {
				every_state = {
					limit = { is_central_asia = yes }
					if = {
						limit = { has_dynamic_modifier = { modifier = RUS_central_asia_chaos } }
						remove_dynamic_modifier = { modifier = RUS_central_asia_chaos }
					}
					force_enable_resistance = { occupier = RUS clear = yes }
					if = {
						limit = { is_alash = yes }
						enable_state_integration_50_compliance = yes
					}
					else = {
						enable_state_integration_80_compliance = yes
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			add_political_power = 50
			add_stability = 0.05
			custom_effect_tooltip = tooltip_white_line
			BUK = {
				custom_effect_tooltip = tooltip_line_break
				add_one_random_civilian_factory = yes
				add_one_random_military_factory = yes
				add_ideas = BUK_southern_bulwark
			}
			hidden_effect = {
				418 = { enable_state_integration_50_compliance = yes } #Ashkhabad
				country_event = { id = russia_events.575 days = 5 } #Fate of Alash Autonomy
				country_event = { id = russia_events.963 days = 30 } #Victory Parade
				country_event = { id = russia_events.577 days = 90 } #Spiritual Administration of the Muslims of Central Asia
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = RUS_exploit_central_asia
		icon = GFX_goal_RUS_central_asia_mining
		cost = 4

		relative_position_id = RUS_pacify_the_frontier
		x = 1
		y = 1

		available = {
			custom_override_tooltip = {
				tooltip = { localization_key = has_completed_decision DECISION = RUS_northern_route }
				has_country_flag = RUS_northern_route_completed
			}
			custom_override_tooltip = {
				tooltip = { localization_key = has_completed_decision DECISION = RUS_upgrade_the_railroad_vladivostok }
				has_country_flag = RUS_upgrade_the_railroad_vladivostok_completed
			}
			NOT = { has_idea = RUS_kazakh_unrest }
		}
		prerequisite = {
			focus = RUS_pacify_the_frontier
			focus = RUS_annex_the_bandit_states
		}
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_exploit_central_asia"
			if = {
				limit = { has_completed_focus = RUS_pacify_the_frontier }
				BUK = {
					add_stability = 0.1
					add_one_random_civilian_factory = yes
					add_one_random_military_factory = yes
				}
			}
			else_if = {
				limit = {
					any_owned_state = {
						is_central_asia = yes
						NOT = { is_core_of = RUS }
					}
				}
				every_owned_state = {
					limit = {
						NOT = { is_core_of = ROOT }
						is_central_asia = yes
					}
					add_compliance = 10
				}
			}
			else = {
				407 = { #Tashkent
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			RUS_activate_central_asia_industry = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_turkestan_intervention
		icon = GFX_goal_ETS_army
		cost = 3

		relative_position_id = RUS_white_sun_of_desert
		x = 1
		y = 3

		prerequisite = {
			focus = RUS_pacify_the_frontier
			focus = RUS_annex_the_bandit_states
		}
		available = {
			is_faction_leader = yes
		}
		ai_will_do = { factor = 3 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_turkestan_intervention"
			set_temp_variable = { RUS_power_change = 5 }
			RUS_change_projection = yes
			#demand Xinjiang to become puppet, meddle in ETS war
			if = {
				limit = {
					KUM = {
						exists = yes
						has_cosmetic_tag = KUM_uyghur
					}
				}
				activate_targeted_decision = { target = KUM decision = RUS_invite_alliance }
			}
			else = {
				activate_targeted_decision = { target = ETS decision = RUS_Invite_East_Turkestan }
			}
			#if MON is puppeted by Ma, get war goal against Ma
			activate_targeted_decision = { target = MON decision = RUS_Invite_Mongolia }
			activate_targeted_decision = { target = MON decision = RUS_attack }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_mission_to_teheran
		icon = GFX_goal_PER_army
		cost = 3

		relative_position_id = RUS_white_sun_of_desert
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_pacify_the_frontier
			focus = RUS_annex_the_bandit_states
		}
		available = {
			is_faction_leader = yes
			OR = {
				owns_state = 584 #Karakum
				var:584.owner = { is_subject_of = ROOT } #Karakum
			}
		}
		will_lead_to_war_with = PER
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				can_declare_war_on = 418.owner
				var:418.owner = { default_attack_AI_trigger = yes }
			}
			modifier = { # Avoid taking this before GER is dealt with
				factor = 0
				has_war_with = GER
			}
			modifier = { # Avoid war with TUR before WW2
				factor = 0
				var:418.owner = {
					OR = {
						tag = TUR
						is_subject_of = TUR
					}
				}
				second_weltkrieg_has_begun = no
			}
			modifier = {
				factor = 3.5
				date > 1938.1.1
				has_idea = volunteer_only
			}
			modifier = {
				factor = 3
				has_country_flag = RUS_titov_ai #hello this is TITTYov speaking, i NEED political power PLEASE
				NOT = { has_active_mission = RUS_titov_demands_from_left }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mission_to_teheran"
			set_temp_variable = { RUS_power_change = 5 }
			RUS_change_projection = yes
			add_political_power = 40
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_subject = 418.owner }
				418 = { transfer_state_to = 584.owner }
			}
			if = {
				limit = {
					NOT = {
						PER = { has_socialist_government = yes }
						PER = { is_subject = yes }
					}
				}
				country_event = DES.5
				custom_effect_tooltip = tooltip_white_line
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_last_refuge_of_the_bandits
		icon = GFX_goal_afghanistan
		cost = 3

		relative_position_id = RUS_white_sun_of_desert
		x = -2
		y = 2

		prerequisite = {
			focus = RUS_pacify_the_frontier
			focus = RUS_annex_the_bandit_states
		}
		available = {
			OR = {
				is_neighbor_of = AFG
				AFG = { any_neighbor_country = { is_subject_of = ROOT } }
			}
		}
		bypass = {
			OR = {
				NOT = { country_exists = AFG }
				is_ally_with = AFG
				has_global_flag = RUSSIAN_OTTOMAN_DEAL
			}
		}
		will_lead_to_war_with = AFG
		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0
				NOT = { has_completed_focus = RUS_rebirth_of_russia }
			}
			modifier = {
				factor = 0
				NOT = { has_country_flag = RUS_will_attack_afghanistan }
			}
			modifier = {
				factor = 0
				has_soclib_or_socdem_government = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_last_refuge_of_the_bandits"
			set_temp_variable = { RUS_power_change = 5 }
			RUS_change_projection = yes
			activate_targeted_decision = { decision = RUS_attack target = AFG }
			activate_targeted_decision = { decision = RUS_invite_alliance target = AFG }
			#as long as afghanistan is there, you get negative events about turkestan guerillas from there doing stuff, you can demand them to stop supporting them, and potentially subjugate afghans
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_ruins_of_old_empire
		icon = GFX_goal_Unite_Arabia
		cost = 4

		relative_position_id = RUS_mission_to_teheran
		x = 0
		y = 2

		available = {
			NOT = { 677 = { is_owned_by = TUR } } #Aleppo
			OR = {
				var:773.owner = { is_ally_with = RUS } #Constantinople
				var:266.owner = { is_ally_with = RUS } #Teheran
			}
		}

		prerequisite = {
			focus = RUS_mission_to_teheran
		}

		ai_will_do = { factor = 80 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_ruins_of_old_empire"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			add_political_power = 60
			activate_targeted_decision = { decision = RUS_invite_alliance target = JBS }
			activate_targeted_decision = { decision = RUS_invite_alliance target = SAU }
			activate_targeted_decision = { decision = RUS_invite_alliance target = TRU }
			activate_targeted_decision = { decision = RUS_invite_alliance target = HEJ }
			activate_targeted_decision = { decision = RUS_invite_alliance target = ASY }
			activate_targeted_decision = { decision = RUS_invite_alliance target = IRQ }
			activate_targeted_decision = { decision = RUS_invite_alliance target = LEB }
			activate_targeted_decision = { decision = RUS_invite_alliance target = SYR }
			if = {
				limit = { RUS_kartashyov = yes }
				activate_targeted_decision = { decision = RUS_invite_alliance target = ETH }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

##Rest of Asia Branch
	focus = {
		id = RUS_caucasus
		icon = GFX_goal_georgian_army
		cost = 3

		relative_position_id = RUS_third_europe
		x = 3
		y = 2

		ai_will_do = {
			base = 5
			modifier = {
				add = 5
				has_political_power < 0
			}
			modifier = {
				add = 40 #added pp + International Propaganda from Power Projection could help
				has_country_flag = RUS_savinkov_ai
				date > 1938.1.1
				has_idea = volunteer_only
			}
			modifier = {
				factor = 20
				NOT = { country_exists = GER }
			}
			modifier = {
				factor = 3
				has_country_flag = RUS_titov_ai #hello this is TITTYov speaking, i NEED political power PLEASE
				NOT = { has_active_mission = RUS_titov_demands_from_left }
			}
			modifier = {
				factor = 50
				NOT = { has_country_flag = RUS_socialist_ai }
				GEO = { is_guaranteed_by = ROOT }
			}
		}
		prerequisite = { focus = RUS_end_vilnius_agreement }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_caucasus"
			set_temp_variable = { RUS_power_change = 5 }
			RUS_change_projection = yes
			add_political_power = 40
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = GEO decision = RUS_Invite_Caucasus }
			activate_targeted_decision = { target = ARM decision = RUS_Invite_Caucasus }
			activate_targeted_decision = { target = AZR decision = RUS_Invite_Caucasus }
			if = {
				limit = {
					NOT = {
						owns_state = 231 #Georgia
						GEO = { is_subject_of = ROOT }
					}
				}
				activate_targeted_decision = { decision = RUS_attack target = GEO }
			}
			if = {
				limit = {
					NOT = {
						owns_state = 230 #Yerevan
						ARM = { is_subject_of = ROOT }
					}
				}
				activate_targeted_decision = { decision = RUS_attack target = ARM }
			}
			if = {
				limit = {
					TUR = { owns_state = 230 } #Yerevan
				}
				activate_targeted_decision = { decision = RUS_Demand_Armenia target = TUR }
			}
			if = {
				limit = {
					NOT = {
						owns_state = 229 #Azerbaijan
						AZR = { is_subject_of = ROOT }
					}
				}
				activate_targeted_decision = { decision = RUS_attack target = AZR }
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_old_enemy
		icon = GFX_focus_TUR_the_montreux_convention
		cost = 5

		relative_position_id = RUS_caucasus
		x = -1
		y = 1

		bypass = {
			NOT = { can_declare_war_on = TUR }
		}

		available = {
			has_completed_focus = RUS_preemptive_war
			can_declare_war_on = TUR
			NOT = { has_non_aggression_pact_with = TUR }
			NOT = { has_guaranteed = TUR }
			custom_override_tooltip = {
				tooltip = RUS_demanding_armenia_NOT
				NOT = { has_country_flag = RUS_demanding_armenia }
			}
			custom_override_tooltip = {
				tooltip = RUS_power_projection_5_cost
				check_variable = { RUS_power_projection > 4 }
			}
		}
		prerequisite = { focus = RUS_caucasus }
		mutually_exclusive = { focus = RUS_new_brother }
		ai_will_do = {
			base = 100
			modifier = {
				factor = 0
				any_allied_country = {
					773 = { is_claim_or_core_of_PREV = yes } #Constantinople
				}
			}
			modifier = {
				add = 15
				OR = {
					has_country_leader = { character = RUS_anton_kartashyov }
					has_conservative_government = yes
					has_country_flag = RUS_ideocrat_ai
				}
			}
			modifier = {
				add = 15
				TUR = { has_war_with = EGY }
			}
			modifier = {
				add = -15
				OR = {
					has_soclib_or_socdem_government = yes
					has_country_leader = { character = RUS_nikolay_nekrasov }
				}
			}
			modifier = {
				add = -15
				OR = {
					GRU = {
						is_in_faction_with = INT
						owns_state = 64
					}
					WCA = { is_in_faction_with = INT }
				}
			}
			modifier = {
				add = -5
				FNG = {
					owns_state = 613
					owns_state = 608
					is_in_faction_with = JAP
				}
			}
			modifier = {
				factor = 0 #just leave them alone
				OTT_ottomans_defeated = no
				TUR = { has_war = no }
				country_exists = INT
			}
			modifier = {
				factor = 0
				country_exists = GER
			}
			modifier = {
				factor = 0
				has_game_rule = { rule = TUR_forpol option = TUR_FORPOL_RUS }
				OR = {
					NOT = { has_global_flag = OTT_cairo_pact_war }
					OTT_ottomans_defeated = yes
				}
			}
		}
		will_lead_to_war_with = TUR
		select_effect = {
			log = "[GetLogRoot]: Select Focus RUS_old_enemy"
			TUR = { incoming_war_notification_effect = yes }
			set_country_flag = RUS_attacking_ottomans
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_old_enemy"
			if = {
				limit = { OTT_ottomans_defeated = no }
				log = "KR_Event_Logging;RUS INTERVENE AGAINST OTT"
				clr_country_flag = RUS_attacking_ottomans
				clr_country_flag = RUS_demanding_armenia
			}
			set_temp_variable = { RUS_power_change = -5 }
			RUS_change_projection = yes
			declare_war_on = {
				target = TUR
				type = annex_everything
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = RUS_new_brother
		icon = GFX_focus_generic_befriend_turkey
		cost = 5

		relative_position_id = RUS_caucasus
		x = 1
		y = 1

		available = {
			NOT = { country_exists = GER }
			country_exists = TUR
			has_global_flag = OTT_defeat_levant
			NOT = {
				has_war_with = TUR
			}
			TUR = {
				is_subject = no
				is_in_faction = no
			}
			custom_override_tooltip = {
				NOT = { has_country_flag = RUS_alliance_refused_@FROM }
				tooltip = RUS_alliance_refused_tt
			}
		}
		bypass = {
			NOT = { country_exists = GER }
			is_in_faction_with = TUR
		}
		prerequisite = { focus = RUS_caucasus }
		mutually_exclusive = { focus = RUS_old_enemy }
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				has_country_flag = RUS_ideocrat_ai
			}
			modifier = {
				add = -15
				230 = { is_owned_by = TUR }
			}
			modifier = {
				factor = 2
				has_soclib_or_socdem_government = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_brother"
			set_temp_variable = { RUS_power_change = 5 }
			RUS_change_projection = yes
			TUR = { country_event = { id = russia_foreign_policy_events.70 days = 3 random_days = 3 } }
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_chinese_gamble
		icon = GFX_goal_chi_military_regime
		cost = 3

		relative_position_id = RUS_last_refuge_of_the_bandits
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_end_vilnius_agreement
		}

		bypass = {
			has_global_flag = china_united
		}
		ai_will_do = {
			base = 1
			modifier = {
				add = 20
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_chinese_gamble"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			custom_effect_tooltip = RUS_chinese_gamble_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = RUS_burnt_sun
		icon = GFX_focus_attack_japan
		cost = 6

		relative_position_id = RUS_chinese_gamble
		x = -3
		y = 1

		available = {
			is_subject = no
			OR = {
				owns_state = 408
				FER = { is_ally_with = JAP }
			}
			NOT = { country_exists = GER }
			custom_override_tooltip = {
				tooltip = RUS_power_projection_10_cost
				check_variable = { RUS_power_projection > 9 }
			}
		}
		bypass = {
			JAP = { NOT = { is_faction_leader = yes } }
		}
		prerequisite = {
			focus = RUS_chinese_gamble
		}
		prerequisite = {
			focus = RUS_preemptive_war
		}
		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				NOT = {
					has_completed_focus = RUS_free_baltic_in_free_russia
					has_completed_focus = RUS_union_with_ukraine
					has_completed_focus = RUS_brotherhood_with_belarus
					has_completed_focus = RUS_destroy_partisans
				}
			}
			modifier = {
				factor = 0
				owns_state = 537 #South Sakhalin
			}
			modifier = {
				add = 5
				OR = {
					has_government = national_populist
					has_socialist_government = yes
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_war_with = INT
					has_war_with = CHN
				}
			}
			modifier = {
				factor = 0
				592 = { owner = { is_in_faction_with = JAP } } #Guangzhou
				613 = { owner = { is_in_faction_with = JAP } } #Nanjing
				608 = { owner = { is_in_faction_with = JAP } } #Beijing
				NOT = { FER = { is_in_faction_with = JAP } }
			}
			modifier = {
				add = 5
				CHN = { has_war_with = JAP }
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_old_svobodnik_ai
				country_exists = INT
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_burnt_sun"
			set_temp_variable = { RUS_power_change = -10 }
			RUS_change_projection = yes
			add_state_claim = 537 #South Sakhalin
			add_state_claim = 555 #Kuril Islands
			create_wargoal = {
				type = take_state_focus
				target = JAP
				generator = { 537 555 }
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = RUS_sino_russian_relations
		icon = GFX_focus_chi_one_china_policy
		cost = 6

		relative_position_id = RUS_chinese_gamble
		x = -1
		y = 1

		available = {
			NOT = { country_exists = GER }
			CHN = { china_is_the_unifier_of_china_trigger = yes }
		}
		bypass = {
			CHN = { is_subject = yes }
			custom_override_tooltip = {
				tooltip = china_chinese_united_front_does_not_exist
				NOT = { country_exists = CUF }
			}
		}
		prerequisite = {
			focus = RUS_chinese_gamble
		}
		ai_will_do = { factor = 1 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_sino_russian_relations"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			country_event = russia_foreign_policy_events.125
			custom_effect_tooltip = RUS_china_russia_relations_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RUS_POWER_PROJECTION }
	}

	focus = {
		id = RUS_jewel_of_anticolonialism
		icon = GFX_goal_JAP_target_india
		cost = 5

		relative_position_id = RUS_mission_to_teheran
		x = -1
		y = 1

		available = {
			OR = {
				var:266.owner = { is_ally_with = ROOT } #Tehran
				var:267.owner = { is_ally_with = ROOT } #Kabul
				var:617.owner = { is_ally_with = ROOT } #Dihua
			}
			is_faction_leader = yes
			NOT = { country_exists = GER }
		}
		prerequisite = {
			focus = RUS_last_refuge_of_the_bandits
		}
		prerequisite = {
			focus = RUS_mission_to_teheran
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				RAJ = {
					owns_state = 439
					is_in_faction_with = ENT
				}
			}
			modifier = {
				factor = 0
				HND = {
					owns_state = 439
					is_in_faction_with = INT
				}
			}
			modifier = {
				factor = 0
				PRF = {
					owns_state = 439
					is_in_faction_with = JAP
				}
			}
			modifier = {
				factor = 0
				has_soclib_or_socdem_government = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_jewel_of_anticolonialism"
			set_temp_variable = { RUS_power_change = 10 }
			RUS_change_projection = yes
			if = { #Invite Princely federation to MA if it still exists
				limit = { country_exists = PRF }
				activate_targeted_decision = { target = PRF decision = RUS_invite_alliance }
			}
			if = { #Gain War Goal against Syndie India if it exists
				limit = { country_exists = HND }
				create_wargoal = {
					type = topple_government
					target = HND
				}
			}
			if = { #Gain War Goal against Entente India if it exists
				limit = { country_exists = RAJ }
				create_wargoal = {
					type = topple_government
					target = RAJ
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }
	}

	### War Tree ###
	focus = {
		id = RUS_improve_savinkov_line
		icon = GFX_focus_SWE_hedgehog_defense
		cost = 8
		dynamic = yes
		relative_position_id = RUS_address_the_army
		x = -4
		y = 1
		offset = {
			x = 1
			trigger = { has_socialist_government = yes }
		}

		prerequisite = {
			focus = RUS_address_the_army
		}
		available = {
			OR = {
				has_full_control_of_state = 195 #Petrograd
				has_full_control_of_state = 208 #Luga
				has_full_control_of_state = 209 #Pskov
				has_full_control_of_state = 880 #Dvinsk
				has_full_control_of_state = 755 #Vitebsk
				has_full_control_of_state = 243 #Krichev
				has_full_control_of_state = 242 #Smolensk
				has_full_control_of_state = 224 #Bryansk
				has_full_control_of_state = 220 #Kursk
				has_full_control_of_state = 240 #Belgorod
				has_full_control_of_state = 260 #Voronezh
				has_full_control_of_state = 245 #Millerovo
				has_full_control_of_state = 218 #Rostov
			}
		}
		ai_will_do = {
			factor = 3
			modifier = {
				add = 2
				date > 1939.1.1
			}
			modifier = {
				add = 5
				date > 1939.5.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_improve_savinkov_line"
			195 = { #Petrograd
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 3151
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 149
						instant_build = yes
					}
				}
			}
			208 = { #Luga
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 5
						province = 126
						instant_build = yes
					}
				}
			}
			209 = { #Pskov
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 5
						province = 415
						instant_build = yes
					}
				}
			}
			880 = { #Dvinsk
				if = {
					limit = { is_fully_controlled_by = ROOT }
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 310
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 310
						}
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 7482
						instant_build = yes
					}
				}
			}
			755 = { #Vitebsk
				if = {
					limit = { is_fully_controlled_by = ROOT }
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 6326
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 6326
						}
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 11241
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 11241
						}
					}
				}
			}
			243 = { #Krichev
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 13380
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 11220
						instant_build = yes
					}
				}
			}
			242 = { #Smolensk
				if = {
					limit = { is_fully_controlled_by = ROOT }
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 306
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 306
						}
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 11336
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 11336
						}
					}
				}
			}
			224 = { #Bryansk
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 3390
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 3306
						instant_build = yes
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 3335
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 3335
						}
					}
				}
			}
			220 = { #Kursk
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 580
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 11526
						instant_build = yes
					}
				}
			}
			240 = { #Belgorod
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 6481
						instant_build = yes
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 9449
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = bunker
							NUMBER = 3
							VP = 9449
						}
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 6517
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 9424
						instant_build = yes
					}
				}
			}
			260 = { #Voronezh
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 3567
						instant_build = yes
					}
				}
			}
			245 = { #Millerovo
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 3519
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 9488
						instant_build = yes
					}
				}
			}
			218 = { #Rostov
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = bunker
						level = 3
						province = 9446
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 6493
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 6445
						instant_build = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_military_production
		icon = GFX_focus_generic_reorient_production #GFX_goal_Focus_Military_Mobilisation
		cost = 7

		relative_position_id = RUS_address_the_army
		x = -7
		y = 1
		offset = {
			x = 1
			trigger = { has_socialist_government = yes }
		}

		prerequisite = {
			focus = RUS_address_the_army
		}
		ai_will_do = {
			factor = 5
			modifier = {
				add = 10
				date > 1938.5.1
			}
			modifier = {
				factor = 0
				date < 1938.1.1
				OR = {
					has_country_flag = RUS_socialist_ai
					has_country_flag = RUS_empire_ai
					has_country_flag = RUS_republic_ai
				}
			}
			modifier = {
				factor = 10
				has_active_mission = RUS_soc_prepare_industry
			}
			modifier = {
				factor = 3
				date > 1938.6.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_military_production"
			653 = { #Yekaterinburg
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = arms_factory level = 2 }
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = 219 decision = RUS_modernisation_of_AMO }
			activate_targeted_decision = { target = 399 decision = RUS_izhevsk_mechanical_plant }
			activate_targeted_decision = { target = 572 decision = RUS_create_tankograd }
			custom_effect_tooltip = tooltip_white_line
			add_ideas = RUS_military_production_idea_1
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_dlc_aat = no }
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = vpoz
			}
			else = {
				custom_effect_tooltip = {
					localization_key = KR_available_mio_tt
					MIO = "[?mio:RUS_vpoz_organisation.GetName]"
					TYPE = vpoz_RUS_MIO
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_update_equipment
		icon = GFX_focus_generic_military_equipment
		cost = 5

		relative_position_id = RUS_military_production
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_military_production
		}
		ai_will_do = {
			factor = 5
			modifier = {
				add = 20
				date > 1938.5.1
			}
			modifier = {
				factor = 3
				has_active_mission = RUS_soc_prepare_industry
			}
			modifier = {
				factor = 5
				date > 1938.7.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_update_equipment"
			add_tech_bonus = {
				name = RUS_update_equipment
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
			add_tech_bonus = {
				name = RUS_update_equipment
				bonus = 1
				uses = 1
				category = support_tech
			}
			custom_effect_tooltip = tooltip_white_line
			swap_ideas = {
				remove_idea = RUS_military_production_idea_1
				add_idea = RUS_military_production_idea_2
			}
			if = {
				limit = { RUS_is_demrus = yes }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = RUS_vasily_grabin_advisor
			}
			if = {
				limit = { has_dlc_aat = no }
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = soz
				}
				show_ideas_tooltip = soz_improved
				if = {
					limit = { has_idea = soz }
					swap_ideas = {
						remove_idea = soz
						add_idea = soz_improved
					}
				}
			}
			set_country_flag = improve_soz
			if = { #Tooltip for those that have MIOs
				limit = { has_dlc_aat = yes }
				mio:RUS_laz_organisation = {
					unlock_mio_trait_tooltip = {
						trait = laz_upgrade_4_1
					}
				}
				mio:RUS_laz_organisation = {
					unlock_mio_trait_tooltip = {
						trait = laz_upgrade_4_2
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = laz
				}
				show_ideas_tooltip = laz_improved
				hidden_effect = {
					if = {
						limit = { has_idea = laz }
						swap_ideas = {
							remove_idea = laz
							add_idea = laz_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_roads_of_courage
		icon = GFX_focus_SOV_the_road_of_life
		cost = 5

		relative_position_id = RUS_military_production
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_military_production
		}
		ai_will_do = { factor = 9 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_roads_of_courage"
			enable_tech_improved_logistics = yes
			custom_effect_tooltip = tooltip_white_line
			enable_tech_winter_logistics_support = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_nizhegorodsky_avtomobilny_focus
		icon = GFX_goal_generic_truck_russian
		cost = 5

		relative_position_id = RUS_military_production
		x = 0
		y = 1

		available = {
			252 = { is_owned_and_controlled_by = ROOT }
		}
		prerequisite = {
			focus = RUS_military_production
		}
		ai_will_do = { factor = 9 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_nizhegorodsky_avtomobilny_focus"
			252 = { #Nizhny Novgorod
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = arms_factory level = 2 }
			}
			add_tech_bonus = {
				name = RUS_nizhegorodsky_avtomobilny_focus
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
				category = motorized_equipment
			}
			if = { #Tooltip for those that have MIOs but, not LaR
				limit = {
					has_dlc_aat = yes
				}
				mio:RUS_naz_organisation = {
					unlock_mio_trait_tooltip = {
						trait = naz_upgrade_4_2
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = naz
				}
				show_ideas_tooltip = naz_improved
				hidden_effect = {
					if = {
						limit = { has_idea = naz }
						swap_ideas = {
							remove_idea = naz
							add_idea = naz_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_NPP_tanks
		icon = GFX_focus_generic_tank_production
		cost = 6

		relative_position_id = RUS_nizhegorodsky_avtomobilny_focus
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_nizhegorodsky_avtomobilny_focus
		}
		ai_will_do = { factor = 2 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_NPP_tanks"
			add_tech_bonus = {
				name = RUS_NPP_tanks
				bonus = 1
				uses = 2
				category = mio_cat_tech_all_armor_and_modules
			}
			custom_effect_tooltip = RUS_tanks_design_focus_tt
			RUS_spawn_breakthrough_tanks = yes
			if = {
				limit = { has_dlc_aat = no }
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = sormovo
				}
				show_ideas_tooltip = sormovo_improved
				hidden_effect = {
					if = {
						limit = { has_idea = sormovo }
						swap_ideas = {
							remove_idea = sormovo
							add_idea = sormovo_improved
						}
					}
				}
				set_country_flag = upgrade_sormovo
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_artillery_production
		icon = GFX_goal_generic_artillery_factories
		cost = 7

		relative_position_id = RUS_nizhegorodsky_avtomobilny_focus
		x = -3
		y = 01

		prerequisite = {
			focus = RUS_update_equipment
		}
		mutually_exclusive = {
			focus = RUS_motorisation
		}
		ai_will_do = {
			factor = 30
			modifier = {
				factor = 3
				has_active_mission = RUS_soc_prepare_industry
			}
			modifier = {
				factor = 5
				has_country_flag = RUS_savinkov_ai
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_artillery_production"
			swap_ideas = {
				remove_idea = RUS_military_production_idea_2
				add_idea = RUS_military_production_idea_3
			}
			add_tech_bonus = {
				name = RUS_artillery_production
				bonus = 1
				uses = 1
				category = artillery
			}
			activate_targeted_decision = { target = 223 decision = RUS_tula_arms_factory }
			if = {
				limit = {
					has_dlc_gtd = yes
					NOT = { is_special_project_completed = sp:sp_land_super_heavy_howitzer }
				}
				sp:sp_land_super_heavy_howitzer = { add_project_progress_ratio = 0.1 }
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_PRODUCTION FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_motorisation
		icon = GFX_goal_generic_army_motorized
		cost = 7

		relative_position_id = RUS_nizhegorodsky_avtomobilny_focus
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_nizhegorodsky_avtomobilny_focus
		}
		prerequisite = {
			focus = RUS_update_equipment
		}
		mutually_exclusive = {
			focus = RUS_artillery_production
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_motorisation"
			swap_ideas = {
				remove_idea = RUS_military_production_idea_2
				add_idea = RUS_military_production_idea_4
			}
			custom_effect_tooltip = RUS_tank_design_focus_tt
			RUS_spawn_light_tanks = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_dlc_aat = no }
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = okmo_kr
			}
			else = {
				custom_effect_tooltip = {
					localization_key = KR_available_mio_tt
					MIO = "[?mio:RUS_okmo_kr_organisation.GetName]"
					TYPE = okmo_RUS_MIO
				}
			}
			if = {
				limit = { NOT = { is_special_project_completed = sp:sp_land_military_engineering_vehicles } }
				sp:sp_land_military_engineering_vehicles = { add_project_progress_ratio = 0.15 }
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_PRODUCTION }
	}
	focus = {
		id = RUS_expand_ird
		icon = GFX_goal_generic_mobile_artillery_rocket
		cost = 4

		relative_position_id = RUS_nizhegorodsky_avtomobilny_focus
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_nizhegorodsky_avtomobilny_focus
		}
		ai_will_do = {
			factor = 2
			modifier = {
				add = 2
				date > 1937.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_expand_ird"
			if = {
				limit = {
					controls_province = 9292 #Chelyabinsk
					572 = { #Chelyabinsk
						is_owned_and_controlled_by = ROOT
						can_construct_building = air_facility
					}
				}
				572 = { #Chelyabinsk
					custom_override_tooltip = {
						add_building_construction = {
							type = air_facility
							level = 1
							province = 9292 #Chelyabinsk
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = air_facility
							NUMBER = 1
							VP = 9292
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 403 572 583 653 }
					limit = {
						is_core_of = ROOT
						can_construct_building = air_facility
					}
					construct_building_in_random_province = { air_facility = 1 }
				}
			}
			add_tech_bonus = {
				name = RUS_expand_ird
				bonus = 1
				uses = 2
				category = rocketry
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = ird
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_academy_of_black_epaulettes
		icon = GFX_goal_doctrine_tank_warfare
		cost = 6
		relative_position_id = RUS_address_the_army
		x = 4
		y = 1
		prerequisite = {
			focus = RUS_address_the_army
		}
		ai_will_do = {
			factor = 4
			modifier = {
				add = 2
				date > 1937.1.1
			}
			modifier = {
				add = 2
				date > 1938.1.1
			}
			modifier = {
				add = 1
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_academy_of_black_epaulettes"
			if = {
				limit = { has_socialist_government = yes }
				custom_effect_tooltip = available_theorist
				show_ideas_tooltip = RUS_mikhail_tukhachevsky_high_command
			}
			custom_effect_tooltip = available_military_high_command
			if = {
				limit = { has_socialist_government = no }
				show_ideas_tooltip = RUS_yakov_slashchyov_high_command
			}
			show_ideas_tooltip = RUS_aleksandr_vasilevsky_high_command
			show_unit_leaders_tooltip = RUS_mikhail_katukov
			hidden_effect = {
				RUS_mikhail_katukov = { set_nationality = ROOT }
			}
			custom_effect_tooltip = tooltip_white_line
			add_doctrine_cost_reduction = {
				name = RUS_academy_of_black_epaulettes
				cost_reduction = 0.33
				uses = 1
				category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }
	}

	focus = {
		id = RUS_mobilise_the_hosts
		icon = GFX_goal_RUS_cavalry_charge #GFX_focus_FIN_strengthen_military_administration
		cost = 3
		allow_branch = {
			has_socialist_government = no
			NOT = {
				has_country_flag = RUS_abolished_cossack_hosts
				has_country_flag = RUS_lost_wk2
			}
		}
		available = { has_war = yes }
		relative_position_id = RUS_academy_of_black_epaulettes
		x = 1
		y = 1

		prerequisite = {
			#focus = RUS_academy_of_black_epaulettes
			focus = RUS_address_the_army
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 200
				has_war_with = GER
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_mobilise_the_hosts"
			hidden_effect = {
				country_event = { id = russia_flavour_events.164 days = 180 random_days = 180 } #War of Motors and Horses
				RUS_cossack_division_check = yes
				if = {
					limit = { has_completed_focus = RUS_new_cavalry }
					add_units_to_division_template = {
						template_name = "Kazachya diviziya"
						regiments = {
							cavalry = 3
							cavalry = 3
							cavalry = 3
						}
					}
				}
			}
			every_owned_state = {
				limit = {
					OR = {
						state = 218
						state = 234
						state = 787
						state = 236
						state = 581
						state = 406
						state = 583
						state = 589
						state = 657
					}
					is_controlled_by = ROOT
				}
				create_unit = {
					division = "division_template = \"Kazachya diviziya\" start_experience_factor = 0.6"
					owner = ROOT
				}
			}
			if = {
				limit = { has_country_flag = RUS_strengthened_cossacks }
				every_owned_state = {
					limit = {
						OR = {
							state = 218
							state = 234
							state = 787
							state = 236
						}
						is_controlled_by = ROOT
					}
					create_unit = {
						division = "division_template = \"Kazachya diviziya\" start_experience_factor = 0.6"
						owner = ROOT
					}
				}
			}
			if = {
				limit = { RUS_pyotr_krasnov = { is_high_command = yes } }
				every_owned_state = {
					limit = {
						OR = {
							state = 218
							state = 234
							state = 787
							state = 236
						}
						is_controlled_by = ROOT
					}
					create_unit = {
						division = "division_template = \"Kazachya diviziya\" start_experience_factor = 0.6"
						owner = ROOT
					}
				}
			}
			set_division_template_lock = {
				division_template = "Kazachya diviziya"
				is_locked = no
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_extensive_reconnaissance = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	### Air Tree ###
	focus = {
		id = RUS_evaluate_VVFR
		icon = {
			trigger = { has_socialist_government = no }
			value = GFX_goal_RUS_airforce
		}
		icon = {
			trigger = { has_socialist_government = yes }
			value = GFX_goal_RUS_airforce_socialist
		}
		cost = 4

		x = 14
		y = 0
		relative_position_id = RUS_address_the_army

		offset = {
			x = -7
			trigger = {
				has_country_flag = RUS_lost_wk2
			}
		}
		#offset = {
		#	x = -7
		#	trigger = { has_socialist_government = yes }
		#}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
			modifier = {
				add = 1000
				has_country_flag = RUS_socialist_ai
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_savinkov_ai
					has_country_flag = RUS_republic_ai
					has_country_flag = RUS_empire_ai
					has_country_flag = RUS_socialist_ai
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_evaluate_VVFR"
			if = {
				limit = { RUS_savinkov = yes }
				custom_effect_tooltip = RUS_evalute_VVFR_tt
				custom_effect_tooltip = tooltip_white_line
			}
			air_experience = 30
			country_event = russia_flavour_events.8
			hidden_effect = {
				country_event = { id = russia_events.267 days = 20 } #Terror Bombing Question
			}
		}
		search_filters = { FOCUS_FILTER_AIR_XP }
	}

	focus = {
		id = RUS_state_aviation_bureau
		icon = GFX_goal_industry_air
		cost = 5

		relative_position_id = RUS_evaluate_VVFR
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_evaluate_VVFR
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_state_aviation_bureau"
			add_ideas = RUS_state_aviation_bureau_1
			activate_targeted_decision = { target = 219 decision = RUS_convert_civilian_aviation_industry }
		}
		search_filters = { FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_new_airbases
		icon = GFX_focus_generic_air_bases
		cost = 4

		relative_position_id = RUS_evaluate_VVFR
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_evaluate_VVFR
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_airbases"
			RUS_decrease_black_monday = yes
			add_tech_bonus = {
				name = RUS_new_airbases
				bonus = 1
				uses = 1
				category = cat_anti_air
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { controls_state = 219 } #Moscow
				219 = { add_building_construction = { type = anti_air_building level = 3 } }
			}
			if = {
				limit = { controls_state = 195 } #Petrograd
				195 = { add_building_construction = { type = anti_air_building level = 3 } }
			}
			if = {
				limit = { controls_state = 217 } #Tsaritsyn
				217 = {
					add_building_construction = { type = air_base level = 3 }
					add_building_construction = { type = anti_air_building level = 2 }
				}
			}
			if = {
				limit = { controls_state = 209 } #Pskov
				209 = { add_building_construction = { type = air_base level = 3 } }
			}
			if = {
				limit = { controls_state = 242 } #Smolensk
				242 = {
					add_building_construction = { type = air_base level = 3 }
					add_building_construction = { type = anti_air_building level = 1 }
				}
			}
			if = {
				limit = { controls_state = 222 } #Orel
				222 = { add_building_construction = { type = air_base level = 3 } }
			}
			if = {
				limit = { controls_state = 218 } #Rostov
				218 = {
					add_building_construction = { type = air_base level = 3 }
					add_building_construction = { type = anti_air_building level = 2 }
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_radar_system
		icon = GFX_focus_generic_radio_equipment
		cost = 4

		relative_position_id = RUS_evaluate_VVFR
		x = 2
		y = 1

		available = {
			has_tech = radio
		}
		prerequisite = {
			focus = RUS_evaluate_VVFR
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_radar_system"
			if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_air_radar }
				}
				complete_special_project = sp:sp_air_radar
			}
			else = {
				add_tech_bonus = {
					name = RUS_radar_system
					bonus = 1
					uses = 1
					category = radar_tech
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = robtit
			custom_effect_tooltip = tooltip_white_line
			242 = { add_building_construction = { type = radar_station level = 1 } }
			195 = { add_building_construction = { type = radar_station level = 1 } }
			218 = { add_building_construction = { type = radar_station level = 1 } }
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = RUS_the_flying_tank
		icon = GFX_goal_generic_air_heavy_fighter_new
		cost = 4

		relative_position_id = RUS_state_aviation_bureau
		x = -3
		y = 1

		prerequisite = {
			focus = RUS_state_aviation_bureau
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_the_flying_tank"
			add_tech_bonus = {
				name = RUS_the_flying_tank
				bonus = 1
				uses = 2
				category = mio_cat_all_cas_and_modules
			}
			RUS_spawn_CAS_planes = yes
			if = {
				limit = { has_dlc_aat = yes }
				mio:RUS_osoavia_organisation = {
					unlock_mio_trait_tooltip = osoavia_upgrade_4_1
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = osoavia
				}
				show_ideas_tooltip = osoavia_improved
				hidden_effect = {
					if = {
						limit = { has_idea = osoavia }
						swap_ideas = {
							remove_idea = osoavia
							add_idea = osoavia_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = RUS_polikarpov_fighters
		icon = GFX_goal_generic_air_fighter2_new
		cost = 4

		relative_position_id = RUS_state_aviation_bureau
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_state_aviation_bureau
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 20
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_polikarpov_fighters"
			add_tech_bonus = {
				name = RUS_polikarpov_fighters
				bonus = 1
				uses = 2
				category = mio_cat_all_light_fighter_and_modules
			}
			RUS_spawn_fighters = yes
			if = {
				limit = { has_dlc_aat = yes }
				mio:RUS_duks_organisation = {
					unlock_mio_trait_tooltip = duks_upgrade_2_1
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = duks
				}
				show_ideas_tooltip = duks_improved
				hidden_effect = {
					if = {
						limit = { has_idea = duks }
						swap_ideas = {
							remove_idea = duks
							add_idea = duks_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = RUS_enter_hundred
		icon = GFX_goal_generic_air_bomber_new
		cost = 4

		relative_position_id = RUS_state_aviation_bureau
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_state_aviation_bureau
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_enter_hundred"
			add_tech_bonus = {
				name = RUS_enter_hundred
				bonus = 1
				uses = 1
				category = mio_cat_all_medium_aircraft_and_modules
			}
			add_tech_bonus = {
				name = RUS_enter_hundred
				bonus = 1
				uses = 1
				category = mio_cat_all_heavy_aircraft_and_modules
			}
			RUS_spawn_medium_bombers = yes
			if = {
				limit = { has_dlc_aat = yes }
				if = {
					limit = { has_country_flag = RUS_rename_industries }
					mio:RUS_gamayun_organisation = {
						unlock_mio_trait_tooltip = gamayun_upgrade_4_1_soc_rus
					}
				}
				else = {
					mio:RUS_gamayun_organisation = {
						unlock_mio_trait_tooltip = gamayun_upgrade_4_1
					}
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = gamayun
				}
				show_ideas_tooltip = gamayun_improved
				hidden_effect = {
					if = {
						limit = { has_idea = gamayun }
						swap_ideas = {
							remove_idea = gamayun
							add_idea = gamayun_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = RUS_over_the_northern_skies
		icon = GFX_goal_generic_air_heavy_fighter2_new
		cost = 4

		relative_position_id = RUS_state_aviation_bureau
		x = 3
		y = 1

		prerequisite = {
			focus = RUS_state_aviation_bureau
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_over_the_northern_skies"
			add_tech_bonus = {
				name = RUS_over_the_northern_skies
				bonus = 1
				uses = 2
				category = mio_cat_all_medium_aircraft_and_modules
			}
			if = {
				limit = { has_dlc_bba = yes }
				set_technology = { range_improvements = 1 }
			}
			RUS_spawn_heavy_fighters = yes
			if = {
				limit = { has_dlc_aat = yes }
				if = {
					limit = { has_country_flag = RUS_rename_industries }
					mio:RUS_skorost_organisation = {
						unlock_mio_trait_tooltip = skorost_upgrade_2_1_soc_rus
					}
				}
				else = {
					mio:RUS_skorost_organisation = {
						unlock_mio_trait_tooltip = skorost_upgrade_2_1
					}
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = seversky
				}
				show_ideas_tooltip = seversky_improved
				hidden_effect = {
					if = {
						limit = { has_idea = seversky }
						swap_ideas = {
							remove_idea = seversky
							add_idea = seversky_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_army_of_air
		icon = GFX_goal_generic_air_CAS_russian
		cost = 5

		relative_position_id = RUS_polikarpov_fighters
		x = -1
		y = 1
		available = {
			NOT = { has_idea = RUS_terror_bomber_school }
		}
		prerequisite = {
			focus = RUS_the_flying_tank
			focus = RUS_polikarpov_fighters
		}
		mutually_exclusive = {
			focus = RUS_bomber_clique
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_army_of_air"
			add_ideas = RUS_army_of_air_1
			custom_effect_tooltip = tooltip_white_line
			add_doctrine_cost_reduction = {
				name = RUS_army_of_air
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
				name = RUS_army_of_air
				bonus = 0.1
				days = 365
				grand_doctrine = new_battlefield_support
			}
			if = {
				limit = { RUS_savinkov = yes }
				custom_effect_tooltip = tooltip_white_line
				add_power_balance_value = {
					id = RUS_power_balance
					value = -0.05
				}
			}
			RUS_spawn_light_planes_2 = yes
		}
		search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = RUS_combined_arms_exercises
		icon = GFX_focus_generic_tank_air_support
		cost = 7

		relative_position_id = RUS_army_of_air
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_army_of_air
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_combined_arms_exercises"
			swap_ideas = {
				remove_idea = RUS_army_of_air_1
				add_idea = RUS_army_of_air_2
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = RUS_personal_heroism
		icon = GFX_focus_SOV_flying_clubs
		cost = 7

		relative_position_id = RUS_army_of_air
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_army_of_air
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_personal_heroism"
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = RUS_pavel_rychagov_high_command
			custom_effect_tooltip = tooltip_white_line
			air_experience = 50
			add_ace = {
				name = "Grigory"
				surname = "Rechkalov"
				callsign = "RGA"
				type = fighter_genius
			}
			add_ace = {
				name = "Nikolay"
				surname = "Skomorokhov"
				callsign = "Skomorokh"
				type = fighter_unique
			}
			add_ace = {
				name = "Aleksandr"
				surname = "Pokryshkin"
				callsign = "Sotka"
				type = fighter_genius
			}
			add_ace = {
				name = "Boris"
				surname = "Safonov"
				callsign = "Sniper"
				type = fighter_unique
			}
			add_ace = {
				name = "Nikolay"
				surname = "Gastello"
				callsign = "Taran"
				type = support_unique
			}
		}
		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_MILITARY_CHARACTER }
	}
	focus = {
		id = RUS_fighter_bomber_synergy
		icon = GFX_focus_generic_eagle
		cost = 7

		relative_position_id = RUS_army_of_air
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_combined_arms_exercises
		}
		prerequisite = {
			focus = RUS_personal_heroism
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_fighter_bomber_synergy"
			swap_ideas = {
				remove_idea = RUS_army_of_air_2
				add_idea = RUS_army_of_air_3
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = RUS_bomber_clique
		icon = GFX_focus_SWE_marauder_bombers
		cost = 5

		relative_position_id = RUS_enter_hundred
		x = 1
		y = 1
		dynamic = yes
		prerequisite = {
			focus = RUS_enter_hundred
			focus = RUS_over_the_northern_skies
		}
		mutually_exclusive = {
			focus = RUS_army_of_air
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						has_country_flag = RUS_old_svobodnik_ai
						power_balance_value = { id = RUS_power_balance value > 0.15 }
					}
					AND = {
						has_country_flag = RUS_solidarist_ai
						power_balance_value = { id = RUS_power_balance value > -0.30 }
					}
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_bomber_clique"
			add_ideas = RUS_strategic_dimension_1
			custom_effect_tooltip = tooltip_white_line
			add_doctrine_cost_reduction = {
				name = RUS_bomber_clique
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { has_doctrine = new_operational_integrity }
				add_mastery_bonus = {
					name = RUS_bomber_clique
					bonus = 0.1
					days = 365
					grand_doctrine = new_operational_integrity
				}
			}
			else = {
				add_mastery_bonus = {
					name = RUS_bomber_clique
					bonus = 0.1
					days = 365
					grand_doctrine = new_strategic_destruction
				}
			}
			if = {
				limit = { RUS_savinkov = yes }
				custom_effect_tooltip = tooltip_white_line
				add_power_balance_value = {
					id = RUS_power_balance
					value = 0.05
				}
			}
			RUS_spawn_heavy_bombers = yes
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_long_range_bomber_command
		icon = GFX_goal_air_armada
		cost = 7

		relative_position_id = RUS_bomber_clique
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_bomber_clique
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_long_range_bomber_command"
			swap_ideas = {
				remove_idea = RUS_strategic_dimension_1
				add_idea = RUS_strategic_dimension_2
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = RUS_create_the_VDV
		icon = {
			trigger = { has_socialist_government = no }
			value = GFX_goal_RUS_vdv
		}
		icon = {
			trigger = { has_socialist_government = yes }
			value = GFX_focus_DEN_sovaernets_operative_kommando
		}
		cost = 5

		relative_position_id = RUS_bomber_clique
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_bomber_clique
		}
		ai_will_do = { factor = 5 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_create_the_VDV"
			add_doctrine_cost_reduction = {
				name = RUS_create_the_VDV
				cost_reduction = 0.5
				uses = 2
				category = cat_paratroopers_doctrine
			}
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_create_division_template
					NAME = "Vozdushno-Desantnaya Diviziya"
					LINE_1 = { localization_key = line_battalion_tt NAME = paratrooper ICON = GFX_unit_paratrooper_icon_small COUNT = 6 }
					SUPPORT_1 = { localization_key = support_battalion_tt NAME = engineer ICON = GFX_unit_engineer_icon_small }
					SUPPORT_2 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
					SUPPORT_3 = { localization_key = support_battalion_tt NAME = recon ICON = GFX_unit_recon_icon_small }
				}
				if = {
					limit = { has_template = "Vozdushno-Desantnaya Diviziya" }
					delete_unit_template_and_units = { division_template = "Vozdushno-Desantnaya Diviziya" disband = yes } #no cheating
				}
				division_template = {
					name = "Vozdushno-Desantnaya Diviziya"
					division_names_group = RUS_PAR_01
					regiments = {
						paratrooper = { x = 0 y = 0 }
						paratrooper = { x = 0 y = 1 }
						paratrooper = { x = 1 y = 0 }
						paratrooper = { x = 1 y = 1 }
						paratrooper = { x = 2 y = 0 }
						paratrooper = { x = 2 y = 1 }
					}
					support = {
						engineer = { x = 0 y = 0 }
						artillery = { x = 0 y = 1 }
						recon = { x = 0 y = 2 }
					}
				}
			}
			random_owned_controlled_state = {
				prioritize = { 219 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_unit
						TYPE = "Vozdushno-Desantnaya Diviziya"
					}
					create_unit = {
						division = "division_template = \"Vozdushno-Desantnaya Diviziya\" start_experience_factor = 0.1"
						owner = ROOT
					}
				}
			}
			random_owned_controlled_state = {
				prioritize = { 195 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_unit
						TYPE = "Vozdushno-Desantnaya Diviziya"
					}
					create_unit = {
						division = "division_template = \"Vozdushno-Desantnaya Diviziya\" start_experience_factor = 0.1"
						owner = ROOT
					}
				}
			}
			random_owned_controlled_state = {
				prioritize = { 218 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_unit
						TYPE = "Vozdushno-Desantnaya Diviziya"
					}
					create_unit = {
						division = "division_template = \"Vozdushno-Desantnaya Diviziya\" start_experience_factor = 0.1"
						owner = ROOT
					}
				}
			}
			random_owned_controlled_state = {
				prioritize = { 242 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_unit
						TYPE = "Vozdushno-Desantnaya Diviziya"
					}
					create_unit = {
						division = "division_template = \"Vozdushno-Desantnaya Diviziya\" start_experience_factor = 0.1"
						owner = ROOT
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_better_paratroopers = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_operational_independence
		icon = GFX_goal_Combined_Bomber_Offensive
		cost = 7

		relative_position_id = RUS_bomber_clique
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_long_range_bomber_command
		}
		prerequisite = {
			focus = RUS_create_the_VDV
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_operational_independence"
			swap_ideas = {
				remove_idea = RUS_strategic_dimension_2
				add_idea = RUS_strategic_dimension_3
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_total_avitational_mobilisation
		icon = GFX_focus_generic_multi_role_aircraft
		cost = 7

		relative_position_id = RUS_combined_arms_exercises
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_combined_arms_exercises
			focus = RUS_long_range_bomber_command
		}
		ai_will_do = {
			base = 0
			modifier = {
				add = 15
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_total_avitational_mobilisation"
			swap_ideas = {
				remove_idea = RUS_state_aviation_bureau_1
				add_idea = RUS_state_aviation_bureau_2
			}
		}
		search_filters = { FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_rds_1
		icon = GFX_goal_RUS_rds_1
		cost = 10

		relative_position_id = RUS_total_avitational_mobilisation
		x = -1
		y = 1
		allow_branch = {
			RUS_savinkov = no #Savinkov has unique nuclear focus
		}
		prerequisite = {
			focus = RUS_total_avitational_mobilisation
		}
		available = {
			num_of_factories > 200
			NOT = { has_idea = RUS_military_restrictions }
		}
		ai_will_do = { factor = 6 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_rds_1"
			if = {
				limit = {
					NOT = { has_tech = atomic_research }
					NOT = { is_researching_technology = atomic_research }
				}
				add_tech_bonus = {
					name = RUS_rds_1
					bonus = 0.5
					uses = 1
					ahead_reduction = 1
					category = nuclear
				}
			}
			else_if = {
				limit = { NOT = { is_special_project_completed = sp:sp_nuclear_reactor } }
				sp:sp_nuclear_reactor = { add_project_progress_ratio = 0.1 }
			}
			activate_targeted_decision = { target = GER decision = RUS_operation_masuria }
			if = {
				limit = { has_socialist_government = no }
				activate_targeted_decision = { target = INT decision = RUS_damocles_spy_ring }
			}
			activate_targeted_decision = { target = 562 decision = RUS_death_valley }
			activate_targeted_decision = { target = 407 decision = RUS_taboshar_uranium }
			activate_targeted_decision = { target = 582 decision = RUS_nechayevsk }
			activate_targeted_decision = { target = 810 decision = RUS_nuclear_test }
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_project_m
		icon = GFX_focus_generic_jet
		cost = 10

		relative_position_id = RUS_total_avitational_mobilisation
		x = 1
		y = 1

		offset = {
			x = -1
			y = 0
			trigger = {
				has_government = national_populist
			}
		}

		prerequisite = {
			focus = RUS_total_avitational_mobilisation
			focus = RUS_operational_independence
		}
		available = {
			NOT = { has_idea = RUS_military_restrictions }
		}
		ai_will_do = {
			factor = 2
			modifier = {
				add = 2
				date > 1938.1.1
			}
			modifier = {
				add = 2
				date > 1939.1.1
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					has_deployed_air_force_size = { size > var:ROOT.num_deployed_planes }
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_project_m"
			if = {
				limit = {
					controls_province = 378 #Vladimir
					253 = { #Vladimir
						is_owned_and_controlled_by = ROOT
						can_construct_building = air_facility
					}
				}
				253 = { #Vladimir
					custom_override_tooltip = {
						add_building_construction = {
							type = air_facility
							level = 1
							province = 378 #Vladimir
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = air_facility
							NUMBER = 1
							VP = 378
						}
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					prioritize = { 403 572 583 653 }
					limit = {
						is_core_of = ROOT
						can_construct_building = air_facility
					}
					construct_building_in_random_province = { air_facility = 1 }
				}
			}
			add_tech_bonus = {
				name = RUS_project_m
				bonus = 1
				uses = 2
				category = rocketry
				category = jet_technology
			}
			if = {
				limit = { has_dlc_bba = yes }
				if = {
					limit = { has_tech = modern_small_airframe }
					custom_effect_tooltip = RUS_aircraft_design_tt
					create_equipment_variant = { #MiG-9
						name = "I-300"
						type = small_plane_airframe_4
						allow_without_tech = yes
						modules = {
							fixed_main_weapon_slot = aircraft_cannon_2_1x
							fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
							engine_type_slot = jet_engine_2x
							special_type_slot_1 = armor_plate_small
							special_type_slot_2 = empty
						}
					}
				}
				else = { custom_effect_tooltip = RUS_project_m_design_tt }
			}
			if = {
				limit = { has_dlc_aat = yes }
				mio:RUS_tsagi_organisation = {
					unlock_mio_trait_tooltip = tsagi_upgrade_4_1
				}
			}
			else = {
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = tsagi
				}
				show_ideas_tooltip = tsagi_improved
				hidden_effect = {
					if = {
						limit = { has_idea = tsagi }
						swap_ideas = {
							remove_idea = tsagi
							add_idea = tsagi_improved
						}
					}
				}
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = skorost
				}
				show_ideas_tooltip = skorost_improved
				hidden_effect = {
					if = {
						limit = { has_idea = skorost }
						swap_ideas = {
							remove_idea = skorost
							add_idea = skorost_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	### Navy Tree ###
	focus = {
		id = RUS_inspect_VMFR
		icon = {
			trigger = { has_socialist_government = no }
			value = GFX_goal_RUS_navy
		}
		icon = {
			trigger = { has_socialist_government = yes }
			value = GFX_goal_RUS_navy_socialist
		}
		cost = 4

		relative_position_id = RUS_evaluate_VVFR
		x = 8
		y = 0

		ai_will_do = {
			base = 0
			modifier = {
				add = 5
				date > 1940.1.1
			}
			modifier = {
				add = 1000
				has_active_mission = RUS_navy_focus_demand
			}
			modifier = {
				factor = 0
				date < 1936.2.1
				NOT = {
					has_country_flag = RUS_savinkov_ai
					has_country_flag = RUS_republic_ai
					has_country_flag = RUS_empire_ai
					has_country_flag = RUS_socialist_ai
				}
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_inspect_VMFR"
			navy_experience = 20
			country_event = russia_flavour_events.9
		}
		search_filters = { FOCUS_FILTER_NAVY_XP }
	}

	focus = {
		id = RUS_promote_new_blood
		icon = GFX_goal_navy_hat_ships
		cost = 5

		relative_position_id = RUS_inspect_VMFR
		x = 0
		y = 1

		prerequisite = {
			focus = RUS_inspect_VMFR
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_promote_new_blood"
			show_unit_leaders_tooltip = RUS_nikolay_kuznetsov
			show_unit_leaders_tooltip = RUS_arseny_golovko
			show_unit_leaders_tooltip = RUS_vladimir_tributs
			custom_effect_tooltip = tooltip_white_line
			add_doctrine_cost_reduction = {
				name = RUS_promote_new_blood
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			hidden_effect = {
				RUS = {
					RUS_nikolay_kuznetsov = { set_nationality = ROOT }
					RUS_arseny_golovko = { set_nationality = ROOT }
					RUS_vladimir_tributs = { set_nationality = ROOT }
				}
				if = {
					limit = { has_socialist_government = yes }
					country_event = russia_socialist_events.56 #The People's Navy
					effect_tooltip = {
						if = {
							limit = {
								amount_taken_ideas = {
									amount < 1
									slots = { navy_chief }
								}
							}
							activate_advisor = RUS_nikolay_kuznetsov_navy_chief
						}
						else = {
							navy_experience = 15
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_torpedo_bomber_project
		icon = GFX_goal_generic_air_naval_bomber2_new
		cost = 4

		relative_position_id = RUS_state_aviation_bureau
		x = 5
		y = 1

		prerequisite = {
			focus = RUS_state_aviation_bureau
		}
		prerequisite = {
			focus = RUS_promote_new_blood
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_torpedo_bomber_project"
			add_tech_bonus = {
				name = RUS_torpedo_bomber_project
				bonus = 1
				uses = 1
				category = naval_bomber
			}
			RUS_spawn_naval_bombers = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_garden_of_explosives
		icon = GFX_focus_generic_mine_warfare
		cost = 5
		available = {
			has_war = yes
			controls_state = 195
			has_navy_size = { size > 29 }
		}
		relative_position_id = RUS_inspect_VMFR
		x = -2
		y = 1

		prerequisite = {
			focus = RUS_inspect_VMFR
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_garden_of_explosives"
			add_mines = { region = 272 amount = 600 }
			add_mines = { region = 30 amount = 400 }
			add_mines = { region = 46 amount = 200 }
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = RUS_garden_of_explosives
				bonus = 1
				uses = 2
				category = naval_mines
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { NOT = { is_special_project_completed = sp:sp_naval_midget_submarine } }
				complete_special_project = {
					project = sp:sp_naval_midget_submarine
					show_modifiers = no
				}
			}
			create_equipment_variant = {
				name = "Malyutka Class"
				type = ship_hull_midget_submarine
				name_group = RUS_M_CLASS_NAVY
				parent_version = 0
				modules = {
					fixed_ship_torpedo_slot = ship_torpedo_sub_1
					fixed_ship_engine_slot = sub_ship_engine_1
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = RUS_naval_infantry
		icon = GFX_focus_generic_naval_discipline #GFX_goal_generic_amphibious_assault
		cost = 5
		available = { controls_state = 195 }
		relative_position_id = RUS_inspect_VMFR
		x = 2
		y = 1

		prerequisite = {
			focus = RUS_inspect_VMFR
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_naval_infantry"
			add_tech_bonus = {
				name = RUS_naval_infantry
				bonus = 1
				uses = 1
				category = marine_tech
				category = tp_tech
			}
			add_doctrine_cost_reduction = {
				name = RUS_naval_infantry
				cost_reduction = 0.5
				uses = 2
				category = cat_marines_doctrine
			}
			custom_override_tooltip = {
				tooltip = {
					localization_key = tooltip_create_division_template
					NAME = "Morskaya Gvardeyskaya diviziya"
					LINE_1 = { localization_key = line_battalion_tt NAME = marine ICON = GFX_unit_marine_icon_small COUNT = 9 }
					SUPPORT_1 = { localization_key = support_battalion_tt NAME = engineer ICON = GFX_unit_engineer_icon_small }
					SUPPORT_2 = { localization_key = support_battalion_tt NAME = artillery ICON = GFX_unit_artillery_icon_small }
					SUPPORT_3 = { localization_key = support_battalion_tt NAME = light_tank_recon ICON = GFX_unit_light_tank_recon_icon_small }
				}
				if = {
					limit = { has_template = "Morskaya Gvardeyskaya diviziya" }
					delete_unit_template_and_units = { division_template = "Morskaya Gvardeyskaya diviziya" disband = yes } #no cheating
				}
				division_template = {
					name = "Morskaya Gvardeyskaya diviziya"
					division_names_group = RUS_GRD_01
					regiments = {
						marine = { x = 0 y = 0 }
						marine = { x = 0 y = 1 }
						marine = { x = 0 y = 2 }
						marine = { x = 1 y = 0 }
						marine = { x = 1 y = 1 }
						marine = { x = 1 y = 2 }
						marine = { x = 2 y = 0 }
						marine = { x = 2 y = 1 }
						marine = { x = 2 y = 2 }
					}
					support = {
						engineer = { x = 0 y = 0 }
						artillery = { x = 0 y = 1 }
						light_tank_recon = { x = 0 y = 2 }
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			random_owned_controlled_state = {
				prioritize = { 195 }
				limit = { valid_state_for_spawning_friendly_unit = yes }
				custom_override_tooltip = {
					tooltip = {
						localization_key = tooltip_spawn_unit
						TYPE = "Morskaya Gvardeyskaya diviziya"
					}
					create_unit = {
						division = "division_template = \"Morskaya Gvardeyskaya diviziya\" start_experience_factor = 1"
						owner = ROOT
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_attack_submarine_brigades
		icon = GFX_goal_generic_wolf_pack
		cost = 5
		relative_position_id = RUS_promote_new_blood
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_promote_new_blood
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_attack_submarine_brigades"
			add_ideas = RUS_attack_submarine_idea
			if = {
				limit = {
					has_character = RUS_nestor_monastyryov
					RUS_nestor_monastyryov = { NOT = { has_advisor_role = high_command } }
				}
				custom_effect_tooltip = tooltip_white_line
				add_advisor_role = {
					character = RUS_nestor_monastyryov
					advisor = {
						slot = high_command
						idea_token = RUS_nestor_monastyryov_high_command
						desc = RUS_nestor_monastyryov_admiral_desc
						ledger = navy
						traits = { KR_MHC_submarine_2 }
						cost = 50
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_MILITARY_CHARACTER }
	}

	focus = {
		id = RUS_new_generation_hunters
		icon = GFX_focus_generic_midget_submarines
		cost = 6

		relative_position_id = RUS_attack_submarine_brigades
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_attack_submarine_brigades
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_new_generation_hunters"
			add_tech_bonus = {
				name = RUS_new_generation_hunters
				bonus = 0.75
				uses = 2
				category = ss_tech
			}
			custom_effect_tooltip = {
				localization_key = tooltip_add_tech
				TECH = ship_hull_cruiser_submarine
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { NOT = { is_special_project_completed = sp:sp_naval_cruiser_submarine } }
				complete_special_project = {
					project = sp:sp_naval_cruiser_submarine
					show_modifiers = no
				}
				hidden_effect = {
					set_technology = { tech_gtd_unlock_cruiser_sub_modules = 1 popup = no }
				}
			}
			create_equipment_variant = {
				name = "Kreyserskaya Class"
				type = ship_hull_cruiser_submarine
				name_group = RUS_ADMIRALS_NAVY
				parent_version = 0
				modules = {
					fixed_ship_torpedo_slot = ship_torpedo_sub_2
					fixed_ship_engine_slot = sub_ship_engine_2
					front_1_custom_slot = ship_mine_layer_sub
					mid_1_custom_slot = empty
					rear_1_custom_slot = ship_mine_layer_sub
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_floating_battery_doctrine
		icon = GFX_focus_ARG_study_the_battle_of_the_river_plate
		cost = 6

		relative_position_id = RUS_promote_new_blood
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_promote_new_blood
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_floating_battery_doctrine"
			add_ideas = RUS_coastal_support
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = RUS_floating_battery_doctrine
				bonus = 1
				uses = 2
				category = cat_ship_heavy_battery
				category = cat_ship_medium_battery
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_BONUS }
	}

	focus = {
		id = RUS_armored_destroyer
		icon = GFX_focus_generic_destroyer
		cost = 6

		relative_position_id = RUS_floating_battery_doctrine
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_floating_battery_doctrine
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_armored_destroyer"
			add_tech_bonus = {
				name = RUS_armored_destroyer
				bonus = 1
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = RUS_armored_destroyer
				bonus = 0.5
				uses = 2
				category = asw_tech
				category = ship_modules_tech
			}
			custom_effect_tooltip = RUS_ship_design_focus_tt
			if = { #Destroyer 3 is available
				limit = {
					has_tech = improved_ship_hull_light
				}
				create_equipment_variant = {
					name = "Arzamas Class"	#Domestic Tashkent Class
					type = ship_hull_light_3
					name_group = RUS_CITIES_NAVY
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_light_battery_2
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_1
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = light_ship_engine_3
						fixed_ship_torpedo_slot = ship_torpedo_2
						mid_1_custom_slot = ship_light_battery_2
						rear_1_custom_slot = ship_depth_charge_1
					}
				}
			}
			else = { #Destroyer 2 as default
				create_equipment_variant = {
					name = "Arzamas Class"	#Domestic Tashkent Class
					type = ship_hull_light_2
					name_group = RUS_CITIES_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_battery_slot = ship_light_battery_2
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_fire_control_system_slot = ship_fire_control_system_1
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = light_ship_engine_2
						fixed_ship_torpedo_slot = ship_torpedo_2
						mid_1_custom_slot = ship_light_battery_2
						rear_1_custom_slot = empty
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_naval_engineers
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		relative_position_id = RUS_floating_battery_doctrine
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_floating_battery_doctrine
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_naval_engineers"
			add_tech_bonus = {
				name = RUS_naval_engineers
				bonus = 0.33
				uses = 3
				category = ship_modules_tech
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					NOT = { has_tech = damage_control_1 }
				}
				set_technology = { damage_control_1 = 1 }
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_linkor_programme
		icon = GFX_goal_generic_naval_battleship2
		cost = 6

		relative_position_id = RUS_floating_battery_doctrine
		x = 0
		y = 2

		prerequisite = {
			focus = RUS_floating_battery_doctrine
		}
		available = {
			NOT = { has_idea = RUS_military_restrictions }
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_linkor_programme"
			if = {
				limit = { NOT = { is_special_project_completed = sp:sp_naval_super_heavy_battleship } }
				complete_special_project = {
					project = sp:sp_naval_super_heavy_battleship
					show_modifiers = no
				}
			}
			add_tech_bonus = {
				name = RUS_linkor_programme
				bonus = 1
				uses = 2
				category = mio_cat_tech_all_capital_ship_and_modules
			}
			custom_effect_tooltip = tooltip_white_line
			create_equipment_variant = {
				name = "Pyotr Veliky Class" #Sovetsky Soyuz Class
				type = ship_hull_super_heavy_1
				name_group = RUS_SHIPS_LINE_NAVY
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_super_heavy_battery_1
					fixed_ship_anti_air_slot = ship_anti_air_2
					fixed_ship_fire_control_system_slot = ship_fire_control_system_1
					fixed_ship_radar_slot = empty
					fixed_ship_engine_slot = heavy_ship_engine_2
					fixed_ship_secondaries_slot = ship_secondaries_2
					fixed_ship_armor_slot = ship_armor_shbb
					front_1_custom_slot = ship_anti_air_2
					front_2_custom_slot = empty
					mid_1_custom_slot = empty
					mid_2_custom_slot = ship_secondaries_2
					mid_3_custom_slot = ship_secondaries_2
					rear_1_custom_slot = ship_super_heavy_battery_1
					rear_2_custom_slot = ship_airplane_launcher_1
				}
			}
			#Line Production
			add_equipment_production = {
				equipment = {
					type = ship_hull_super_heavy_1
					creator = "RUS"
					version_name = "Pyotr Veliky Class"
				}
				name = "Pyotr Veliky"
				progress = 0.25
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_kronstadt_project
		icon = GFX_goal_generic_carrier_aircraft
		cost = 10

		relative_position_id = RUS_linkor_programme
		x = 1
		y = 1
		prerequisite = {
			focus = RUS_linkor_programme
		}
		available = {
			NOT = { has_idea = RUS_military_restrictions }
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_kronstadt_project"
			add_tech_bonus = {
				name = RUS_kronstadt_project
				bonus = 1
				uses = 2
				category = cv_tech
				category = naval_air
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = RUS_ships_design_focus_tt
			if = {
				limit = { has_tech = advanced_ship_hull_carrier }
				create_equipment_variant = {
					name = "Kronshtadt Class"
					type = ship_hull_carrier_3
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = ship_deck_space
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_4
						fixed_ship_secondaries_slot = ship_secondaries_1
						front_1_custom_slot = ship_deck_space
					}
				}
				create_equipment_variant = {
					name = "Okean Class"
					type = ship_hull_carrier_conversion_ca
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = empty
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_1
						fixed_ship_secondaries_slot = ship_secondaries_1
					}
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_3
						creator = "RUS"
						version_name = "Kronshtadt Class"
					}
					name = "Kronshtadt"
					progress = 0.25
				}
			}
			else_if = {
				limit = { has_tech = improved_ship_hull_carrier }
				create_equipment_variant = {
					name = "Kronshtadt Class"
					type = ship_hull_carrier_2
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = ship_deck_space
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_3
						fixed_ship_secondaries_slot = ship_secondaries_1
						front_1_custom_slot = ship_deck_space
					}
				}
				create_equipment_variant = {
					name = "Okean Class"
					type = ship_hull_carrier_conversion_ca
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = empty
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_1
						fixed_ship_secondaries_slot = ship_secondaries_1
					}
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "RUS"
						version_name = "Kronshtadt Class"
					}
					name = "Kronshtadt"
					progress = 0.25
				}
			}
			else_if = {
				limit = { has_tech = basic_ship_hull_carrier }
				create_equipment_variant = {
					name = "Kronshtadt Class"
					type = ship_hull_carrier_1
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = ship_deck_space
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						front_1_custom_slot = ship_deck_space
					}
				}
				create_equipment_variant = {
					name = "Okean Class"
					type = ship_hull_carrier_conversion_ca
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = empty
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_1
						fixed_ship_secondaries_slot = ship_secondaries_1
					}
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_1
						creator = "RUS"
						version_name = "Kronshtadt Class"
					}
					name = "Kronshtadt"
					progress = 0.25
				}
			}
			else = { #Carrier 1
				if = {
					limit = { NOT = { has_tech = early_ship_hull_carrier } }
					set_technology = { early_ship_hull_carrier = 1 }
				}
				create_equipment_variant = {
					name = "Kronshtadt Class"
					type = ship_hull_carrier_conversion_bb
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = ship_deck_space
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_2
						front_1_custom_slot = ship_armor_carrier_deck
					}
				}
				create_equipment_variant = {
					name = "Okean Class"
					type = ship_hull_carrier_conversion_ca
					name_group = RUS_SHIPS_LINE_NAVY
					parent_version = 0
					allow_without_tech = yes
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = empty
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = carrier_ship_engine_1
						fixed_ship_secondaries_slot = ship_secondaries_1
					}
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_conversion_bb
						creator = "RUS"
						version_name = "Kronshtadt Class"
					}
					name = "Kronshtadt"
					progress = 0.25
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = RUS_global_power_projection
		icon = GFX_goal_generic_sea_focused_navy2
		cost = 7

		relative_position_id = RUS_armored_destroyer
		x = -1
		y = 1
		available = {
			OR = {
				NOT = { country_exists = GER }
				has_navy_size = { size > 149 }
			}
		}
		prerequisite = {
			focus = RUS_armored_destroyer
		}
		prerequisite = {
			focus = RUS_new_generation_hunters
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_global_power_projection"
			set_temp_variable = { RUS_power_change = 20 }
			RUS_change_projection = yes
			custom_effect_tooltip = tooltip_white_line
			add_war_support = 0.1
			hidden_effect = {
				remove_ideas = {
					RUS_attack_submarine_idea
					RUS_coastal_support
				}
				add_ideas = RUS_blue_seas_fleet
			}
			custom_effect_tooltip = RUS_global_power_projection_tt
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_RUS_POWER_PROJECTION }
	}
	focus = {
		id = RUS_operation_sadko
		icon = GFX_goal_ENG_challenge_the_winds_of_destiny
		cost = 4
		allow_branch = {
			country_exists = ENG
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		available = { has_war_with = ENG }
		relative_position_id = RUS_global_power_projection
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_global_power_projection
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_operation_sadko"
			add_timed_idea = {
				idea = RUS_invade_britain
				days = 365
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = RUS_operation_rozhestvensky
		icon = GFX_goal_RUS_japan
		cost = 4
		allow_branch = {
			JAP = { has_socialist_government = no }
			NOT = { has_country_flag = RUS_lost_wk2 }
		}
		available = { has_war_with = JAP }
		relative_position_id = RUS_global_power_projection
		x = 1
		y = 1

		prerequisite = {
			focus = RUS_global_power_projection
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_operation_rozhestvensky"
			add_timed_idea = {
				idea = RUS_invade_japan
				days = 365
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = RUS_third_naval_armament_program
		icon = GFX_goal_generic_shipyard
		cost = 5

		relative_position_id = RUS_inspect_VMFR
		x = 4
		y = 1
		prerequisite = {
			focus = RUS_inspect_VMFR
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 500
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_third_naval_armament_program"
			add_timed_idea = {
				idea = RUS_naval_rearmament
				days = 730
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_PRODUCTION }
	}
	focus = {
		id = RUS_yekaterinas_legacy
		icon = GFX_goal_generic_black_sea
		cost = 5

		relative_position_id = RUS_third_naval_armament_program
		x = 0
		y = 2

		available = {
			1006 = { is_owned_and_controlled_by = ROOT }
		}
		prerequisite = {
			focus = RUS_third_naval_armament_program
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_yekaterinas_legacy"
			1006 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = { type = dockyard level = 3 instant_build = yes }
				add_building_construction = { type = naval_base level = 3 instant_build = yes province = 719 }
			}
			custom_effect_tooltip = tooltip_white_line
			set_country_flag = improve_as
			if = { #Tooltip for those that have MIOs
				limit = { has_dlc_aat = yes }
				mio:RUS_as_organisation = {
					unlock_mio_trait_tooltip = {
						trait = as_upgrade_4_1
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = as
				}
				show_ideas_tooltip = as_improved
				if = {
					limit = { has_idea = as }
					swap_ideas = {
						remove_idea = as
						add_idea = as_improved
					}
				}
			}
			activate_targeted_decision = { decision = RUS_admiralty_dockyards target = 137 } #Crimea
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_PRODUCTION }
	}

	focus = {
		id = RUS_petrograd_dockyards
		icon = GFX_goal_generic_baltic_sea
		cost = 5

		relative_position_id = RUS_third_naval_armament_program
		x = -1
		y = 1

		available = {
			195 = { is_owned_and_controlled_by = ROOT } #Petrograd
		}
		prerequisite = {
			focus = RUS_third_naval_armament_program
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_petrograd_dockyards"
			195 = { #Petrograd
				if = {
					limit = { can_construct_building = naval_facility }
					custom_override_tooltip = {
						add_building_construction = {
							type = naval_facility
							level = 1
							province = 6174 #Petrograd
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = naval_facility
							NUMBER = 1
							VP = 6174
						}
					}
				}
				else = {
					set_temp_variable = { extra_facility = 1 }
				}
				if = {
					limit = { free_building_slots = { building = dockyard size > 2 include_locked = yes } }
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
				else_if = {
					limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
					set_temp_variable = { extra_dockyards = 1 }
				}
				else_if = {
					limit = { free_building_slots = { building = dockyard size > 0 include_locked = yes } }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
					set_temp_variable = { extra_dockyards = 2 }
				}
				else = {
					set_temp_variable = { extra_dockyards = 3 }
				}
				custom_override_tooltip = {
					add_building_construction = {
						type = naval_base
						level = 3
						province = 6174
						instant_build = yes
					}
					tooltip = {
						localization_key = tooltip_add_building_on_victory_point
						BUILDING = naval_base
						NUMBER = 3
						VP = 6174
					}
				}
			}
			if = {
				limit = { check_variable = { extra_dockyards > 0 } }
				add_one_random_dockyard = yes
			}
			if = {
				limit = { check_variable = { extra_dockyards > 1 } }
				add_one_random_dockyard = yes
			}
			if = {
				limit = { check_variable = { extra_dockyards > 2 } }
				add_one_random_dockyard = yes
			}
			if = {
				limit = { has_variable = extra_facility }
				random_owned_controlled_state = {
					limit = {
						is_core_of = ROOT
						can_construct_building = naval_facility
					}
					construct_building_in_random_province = { naval_facility = 1 }
				}
			}
			custom_effect_tooltip = tooltip_white_line
			set_country_flag = improve_bz
			set_country_flag = improve_av
			if = { #Tooltip for those that have MIOs
				limit = { has_dlc_aat = yes }
				mio:RUS_bz_organisation = {
					unlock_mio_trait_tooltip = {
						trait = bz_upgrade_4_1
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = bz
				}
				show_ideas_tooltip = bz_improved
				hidden_effect = {
					if = {
						limit = { has_idea = bz }
						swap_ideas = {
							remove_idea = bz
							add_idea = bz_improved
						}
					}
				}
			}
			if = { #Tooltip for those that have MIOs
				limit = { has_dlc_aat = yes }
				mio:RUS_av_organisation = {
					unlock_mio_trait_tooltip = {
						trait = av_upgrade_2_1
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = av
				}
				show_ideas_tooltip = av_improved
				hidden_effect = {
					if = {
						limit = { has_idea = av }
						swap_ideas = {
							remove_idea = av
							add_idea = av_improved
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_BONUS }
	}

	focus = {
		id = RUS_kolchaks_dream
		icon = GFX_goal_generic_white_sea
		cost = 5
		dynamic = yes
		relative_position_id = RUS_third_naval_armament_program
		x = 1
		y = 1

		available = {
			214 = { is_owned_and_controlled_by = ROOT }
		}
		prerequisite = {
			focus = RUS_third_naval_armament_program
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_kolchaks_dream"
			214 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = { type = dockyard level = 3 instant_build = yes }
				custom_override_tooltip = {
					add_building_construction = { type = naval_base level = 2 instant_build = yes province = 3338 }
					tooltip = {
						localization_key = tooltip_add_building_on_victory_point
						BUILDING = naval_base
						NUMBER = 2
						VP = 3338
					}
				}
			}
			if = {
				limit = {
					has_socialist_government = no
					NOT = { has_country_flag = RUS_lost_wk2 }
				}
				custom_effect_tooltip = tooltip_white_line
				activate_targeted_decision = { decision = RUS_sannikov_land_quest target = 516 } #Taymyr
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = RUS_eastern_shores
		icon = GFX_goal_generic_sea_of_japan
		cost = 5

		relative_position_id = RUS_third_naval_armament_program
		x = 2
		y = 2

		available = {
			408 = { is_owned_and_controlled_by = ROOT }
			if = {
				limit = { tag = RUS }
				custom_override_tooltip = {
					tooltip = { localization_key = has_completed_decision DECISION = RUS_upgrade_the_railroad_vladivostok }
					has_country_flag = RUS_upgrade_the_railroad_vladivostok_completed
				}
			}
		}
		prerequisite = {
			focus = RUS_third_naval_armament_program
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_eastern_shores"
			408 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = { type = industrial_complex level = 1 }
				add_building_construction = { type = dockyard level = 3 instant_build = yes }
				custom_override_tooltip = {
					add_building_construction = { type = naval_base level = 2 instant_build = yes province = 957 }
					tooltip = {
						localization_key = tooltip_add_building_on_victory_point
						BUILDING = naval_base
						NUMBER = 2
						VP = 957
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			set_country_flag = improve_dalzavod
			if = { #Tooltip for those that have MIOs
				limit = { has_dlc_aat = yes }
				mio:RUS_dalzavod_organisation = {
					unlock_mio_trait_tooltip = {
						trait = dalzavod_upgrade_4_1
					}
				}
			}
			else = { #Tooltip for those that have vanilla companies
				custom_effect_tooltip = {
					localization_key = RUS_unlock_improved_company COMPANY = dalzavod
				}
				show_ideas_tooltip = dalzavod_improved
				if = {
					limit = { has_idea = dalzavod }
					swap_ideas = {
						remove_idea = dalzavod
						add_idea = dalzavod_improved
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = RUS_warm_water_port
		icon = GFX_goal_generic_persian_gulf
		cost = 5
		available = {
			is_faction_leader = yes
			412 = { is_controlled_by_ROOT_or_ally = yes } #Fars
		}
		relative_position_id = RUS_yekaterinas_legacy
		x = -1
		y = 1

		prerequisite = {
			focus = RUS_yekaterinas_legacy
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				date < 1941.1.1
			}
			modifier = {
				factor = 100
				OR = {
					has_war_with = ENG
					has_war_with = JAP
				}
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed RUS_warm_water_port"
			custom_effect_tooltip = RUS_gulf_of_persia_awaits_tt
			set_temp_variable = { RUS_power_change = 25 }
			RUS_change_projection = yes
			412 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = { type = dockyard level = 3 instant_build = yes }
				custom_override_tooltip = {
					add_building_construction = {
						type = naval_base
						level = 4
						instant_build = yes
						province = 7982
					}
					tooltip = {
						localization_key = tooltip_add_building_on_victory_point
						BUILDING = naval_base
						NUMBER = 4
						VP = 7982
					}
				}
			}
			if = {
				limit = {
					can_build_railway = {
						start_state = 412 #Fars
						target_state = 219 # Moscow
					}
				}
				build_railway = {
					level = 1
					build_only_on_allied = yes
					start_state = 412 #Fars
					target_state = 219 # Moscow
				}
			}
			#add event to player Iran if this is done
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
}
